NOAA-GFDL / SIS2

NOAA-GFDL's Sea Ice Simulator version 2
Other
16 stars 42 forks source link

Indexing error if NK_ICE = 1 #143

Closed kshedstrom closed 3 years ago

kshedstrom commented 3 years ago

In src/SIS2_ice_thm.F90 at L369, there is an index out of bounds with temp_est(2) if there is only one vertical level. Perhaps there should be a check saying there has to be at least two levels.

Hallberg-NOAA commented 3 years ago

This issue was addressed with PR https://github.com/NOAA-GFDL/SIS2/pull/145.