Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasloan25 committed Oct 11, 2024
1 parent 6092c8f commit 79391f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/field_exchanger_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Interfacer.get_field(sim::Union{TestSurfaceSimulation1, TestSurfaceSimulation2},
Interfacer.get_field(sim::Union{TestSurfaceSimulation1, TestSurfaceSimulation2}, ::Val{:beta}) = sim.cache_field

Interfacer.get_field(sim::TestSurfaceSimulation1, ::Val{:area_fraction}) = sim.cache_field .* 0
Interfacer.get_field(sim::TestSurfaceSimulation2, ::Val{:area_fraction}) = sim.cache_field .* 0.5
Interfacer.get_field(sim::TestSurfaceSimulation2, ::Val{:area_fraction}) = sim.cache_field .* CC.Spaces.undertype(axes(sim.cache_field))(0.5)

Interfacer.get_field(sim::Union{TestSurfaceSimulation1, TestSurfaceSimulation2}, ::Val{:surface_humidity}) =
sim.cache_field .* 0
Expand Down

0 comments on commit 79391f8

Please sign in to comment.