Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update solveTridiagonalMatrixEquations.m #203

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Unreleased

**Fixed:**

- use `any()` function in `solveTridiagonalMatrixEquations.m` in
[203](https://github.com/EcoExtreML/STEMMUS_SCOPE/pull/203)


<a name="1.4.0"></a>
# [1.4.0](https://github.com/EcoExtreML/STEMMUS_SCOPE/releases/tag/1.4.0) - 17 Oct 2023
Expand Down
Binary file modified run_model_on_snellius/exe/STEMMUS_SCOPE
Binary file not shown.
4 changes: 2 additions & 2 deletions src/+soilmoisture/solveTridiagonalMatrixEquations.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
SAVEhh(i) = hh(i);
end

if isnan(SAVEhh) == 1 || ~isreal(SAVEhh)
warning('\n SAVEhh == 1 or not real\r');
if any(isnan(SAVEhh)) == 1 || any(~isreal(SAVEhh))
warning('\n some items of SAVEhh are nan or not real\r');
end
end