Skip to content

Commit 3439a83

Browse files
committed
fix test
1 parent 46a6a64 commit 3439a83

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/component_model_tests/eisenman_seaice_tests.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,11 @@ include("../../experiments/AMIP/modular/components/slab_utils.jl")
336336
)
337337
sim.integrator.p.Ya.F_turb .= 0
338338
sim.integrator.p.Ya.F_rad .= 300
339+
sim.integrator.u.T_ml .= sim.integrator.p.params.p_i.T_freeze # init conditions for ocean temperature
339340

340341
total_energy_0 = get_total_energy(sim, nothing)
341342
h_ice_0 = deepcopy(sim.integrator.u.h_ice)
343+
342344
step!(sim, Δt)
343345
h_ice = sim.integrator.u.h_ice
344346
@test all(parent(h_ice) .≈ 0.001)

0 commit comments

Comments
 (0)