Skip to content

Commit

Permalink
Merge pull request #9 from DJ4Earth/sw/minor_change
Browse files Browse the repository at this point in the history
Found a minor typo in code, doesn't change anything about presentation
  • Loading branch information
swilliamson7 authored Jun 11, 2024
2 parents 2926b77 + a828bbb commit 2658172
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ShallowWaters_tutorial/enzyme_swm_tutorial.jl
Original file line number Diff line number Diff line change
Expand Up @@ -567,12 +567,12 @@ begin
)

# removing the halo from derivative prognostic variables
derivs = ShallowWaters.PrognosticVars{Float32}(ShallowWaters.remove_halo(dS.Prog.u,dS.Prog.v,dS.Prog.η,dS.Prog.sst, dS)...);
derivs = ShallowWaters.PrognosticVars{Float32}(ShallowWaters.remove_halo(dS.Prog.u,dS.Prog.v,dS.Prog.η,dS.Prog.sst, S)...);

end

# ╔═╡ 464420e7-6ee5-4770-9300-cfc2c2b0af81
maximum(derivs.u)


# ╔═╡ e74aa3aa-b4e8-4065-ac24-14f650a08db4
md"""
Expand Down Expand Up @@ -642,7 +642,7 @@ begin
Const(revolve2)
)

derivs2 = ShallowWaters.PrognosticVars{Float32}(ShallowWaters.remove_halo(dS2.Prog.u,dS2.Prog.v,dS2.Prog.η,dS2.Prog.sst, dS2)...);
derivs2 = ShallowWaters.PrognosticVars{Float32}(ShallowWaters.remove_halo(dS2.Prog.u,dS2.Prog.v,dS2.Prog.η,dS2.Prog.sst,S2)...);

end

Expand Down

0 comments on commit 2658172

Please sign in to comment.