EcoExtreML / STEMMUS_SCOPE

Integrated code of SCOPE and STEMMUS
https://EcoExtreML.github.io/STEMMUS_SCOPE
GNU General Public License v3.0
15 stars 6 forks source link

Update solveTridiagonalMatrixEquations.m #203

Closed MostafaGomaa93 closed 1 year ago

MostafaGomaa93 commented 1 year ago

The model gave the error below

error

Description

The any() function is needed in line 24 -> solveTridiagonalMatrixEquations.m file to let the model run. The change I did is (if any(isnan(SAVEhh)) == 1 || any(~isreal(SAVEhh))) However, since I am a new user of the model, I don't know if that change will give the same or different results from the main code.

Checklist