You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The second line is indeed correct. Surprisingly, it does not crash.
This is due to the fact that kls and kflux are both currently parameters set to the length 100. While this approach was originally ok, this approach is not consistent with the current approach used in modtimedep
Proposed solution for modtimedepsv :
make kflux and kls variables consistent with modtimedep:
l.45-46
integer :: kflux
integer :: kls
continue consistency by linking with modtestbed in inittimedepsv
l.60 in:
use modtestbed, only : ltestbed,ntnudge,&
tb_time
l.70 in:
if (ltestbed) then
kflux = ntnudge
kls = ntnudge
else
kflux = 10000
kls = 10000
end if
Hi @jchylik , thanks for reporting this. I committed your proposed changes to the branch to4.3_Fredrik . Could you please test this version?
Also otherwise, we're preparing to release version 4.3, so testing of the prerelease version on your own cases would be most welcome (branch to4.3, to4.3_Fredrik is currently the same with only this fix added).
There are two issues in modtimedepsv. The first one is that it is casting the same variable twice, but with a seemingly different array length.
l.152, 154:
The second line is indeed correct. Surprisingly, it does not crash.
This is due to the fact that kls and kflux are both currently parameters set to the length 100. While this approach was originally ok, this approach is not consistent with the current approach used in modtimedep
Proposed solution for modtimedepsv :
l.45-46
l.60 in:
l.70 in:
l.152 delete:
The text was updated successfully, but these errors were encountered: