Skip to content

Commit bafdf52

Browse files
Merge pull request #170 from milankl/fix-forcing-none
Bugfix 'none' Forcing
2 parents 711bb61 + 6d6fd69 commit bafdf52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/forcing.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function Forcing{T}(P::Parameter,G::Grid) where {T<:AbstractFloat}
3232
_,Fy = DoubleGyreWind(T,P,G)
3333
elseif wind_forcing_y == "constant"
3434
_,Fy = ConstantWind(T,P,G)
35-
elseif wind_forcing_x == "none"
35+
elseif wind_forcing_y == "none"
3636
_,Fy = NoWind(T,P,G)
3737
end
3838

0 commit comments

Comments
 (0)