From 6d6fd69e8ec7465c3f9fb1da23a6b6896df3aaf1 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 12 Feb 2024 11:26:14 +0100 Subject: [PATCH] bugfix for no forcing --- src/forcing.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/forcing.jl b/src/forcing.jl index 1cea879..f956d63 100644 --- a/src/forcing.jl +++ b/src/forcing.jl @@ -32,7 +32,7 @@ function Forcing{T}(P::Parameter,G::Grid) where {T<:AbstractFloat} _,Fy = DoubleGyreWind(T,P,G) elseif wind_forcing_y == "constant" _,Fy = ConstantWind(T,P,G) - elseif wind_forcing_x == "none" + elseif wind_forcing_y == "none" _,Fy = NoWind(T,P,G) end