Skip to content

Commit

Permalink
revise IS, related to (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
Crystal-szj committed Sep 25, 2024
1 parent 1c15e9a commit 2d369fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/+init/soilHeteroSubroutine.m
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@
j = i - 1;
end

SoilVariables.IS(i) = indexOfSoilType;
SoilVariables.IS(j) = indexOfSoilType;
if subRoutine == 4
SoilVariables.IS(5:8) = 5;
end

J = SoilVariables.IS(i);
J = SoilVariables.IS(j);
[SoilVariables, VanGenuchten] = init.updateSoilVariables(SoilVariables, VanGenuchten, SoilProperties, ModelSettings, j, J);
SoilVariables.Imped(i) = ImpedF(J);

Expand Down

0 comments on commit 2d369fa

Please sign in to comment.