We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6cdd14 commit 83c4d9dCopy full SHA for 83c4d9d
src/OceanSimulations/barotropic_potential_forcing.jl
@@ -25,11 +25,11 @@ forcing_barotropic_potential(something) = nothing
25
forcing_barotropic_potential(f::BarotropicPotentialForcing) = f.potential.data
26
27
function forcing_barotropic_potential(mf::MultipleForcings)
28
- n = findfirst(f -> f isa BarotropicPotentialForcing, mf.forcing)
+ n = findfirst(f -> f isa BarotropicPotentialForcing, mf.forcings)
29
if isnothing(n)
30
return nothing
31
else
32
- return forcing_barotropic_potential(mf.forcing[n])
+ return forcing_barotropic_potential(mf.forcings[n])
33
end
34
35
0 commit comments