Skip to content

Commit add5526

Browse files
this should fix it
1 parent 9165bd2 commit add5526

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/OceanSeaIceModels/time_step_ocean_sea_ice_model.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ function (wizard::TimeStepWizard)(simulation::Simulation{<:OceanSeaIceModel})
6969
wizard(model.atmosphere)
7070
end
7171

72-
return min(ocean_Δt, sea_ice_Δt, atmosphere_Δt)
72+
Δt = min(ocean_Δt, sea_ice_Δt, atmosphere_Δt)
73+
74+
simulation.Δt = Δt
75+
76+
return nothing
7377
end
7478

0 commit comments

Comments
 (0)