Skip to content

Commit adb8393

Browse files
ok this works
1 parent dc79dc0 commit adb8393

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/ClimaOceanPythonCallExt/veros_state_exchanger.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ end
8383
@inline get_radiative_forcing(ocean::VerosOceanSimulation) = nothing
8484

8585
function fill_up_net_fluxes!(ocean::VerosOceanSimulation, net_ocean_fluxes)
86-
nx = pyconvert(Int, ocean.state.settings.nx)
87-
ny = pyconvert(Int, ocean.state.settings.ny)
86+
nx = pyconvert(Int, ocean.setup.state.settings.nx)
87+
ny = pyconvert(Int, ocean.setup.state.settings.ny)
8888
t1 = parent(net_ocean_fluxes.u)[:, 1:44, 1]
8989
t2 = parent(net_ocean_fluxes.v)[:, 1:44, 1]
9090

0 commit comments

Comments
 (0)