I got a floating invalid error when running SPPI0101.GGX, only in Release compiled version for my SoilC_dynamics branch. Debug compiled version ran OK. Other versions of the model seem OK, too. But this may recur in the future if we don't trap it.
I trapped the error with this commit: chporter@7380648
Near line 409 of my revised version, the value of RSHT(i) had a value of NaN.
I put a few more error traps in the code before I found the one that caused the problem.
I didn't do a pull request because we aren't ready to pull this whole branch in, but as far as I know, the error only occurs with this branch.
I got a floating invalid error when running SPPI0101.GGX, only in Release compiled version for my SoilC_dynamics branch. Debug compiled version ran OK. Other versions of the model seem OK, too. But this may recur in the future if we don't trap it.
I trapped the error with this commit: chporter@7380648
Near line 409 of my revised version, the value of RSHT(i) had a value of NaN.
I put a few more error traps in the code before I found the one that caused the problem.
I didn't do a pull request because we aren't ready to pull this whole branch in, but as far as I know, the error only occurs with this branch.