Skip to content

Commit 5b116d9

Browse files
committed
fix axes calls
1 parent c9daca3 commit 5b116d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/ClimaCouplerClimaLandExt/climaland_bucket.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ function FluxCalculator.compute_surface_fluxes!(
431431
atmos_sim::Interfacer.AbstractAtmosSimulation,
432432
thermo_params,
433433
)
434-
boundary_space = axes(csf)
434+
boundary_space = axes(first(csf))
435435
FT = CC.Spaces.undertype(boundary_space)
436436
Y, p, t, model = sim.integrator.u, sim.integrator.p, sim.integrator.t, sim.model
437437

ext/ClimaCouplerClimaLandExt/climaland_integrated.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ function FluxCalculator.compute_surface_fluxes!(
610610
atmos_sim::Interfacer.AbstractAtmosSimulation,
611611
thermo_params,
612612
)
613-
boundary_space = axes(csf)
613+
boundary_space = axes(first(csf))
614614
FT = CC.Spaces.undertype(boundary_space)
615615
Y, p, t, model = sim.integrator.u, sim.integrator.p, sim.integrator.t, sim.model
616616

0 commit comments

Comments
 (0)