From a828bbba7d748dd9d52f6dcdb4b96bd2c643d613 Mon Sep 17 00:00:00 2001 From: Sarah Williamson Date: Tue, 11 Jun 2024 14:30:28 -0500 Subject: [PATCH] Found a minor typo in code, doesn't change anything about presentation --- ShallowWaters_tutorial/enzyme_swm_tutorial.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ShallowWaters_tutorial/enzyme_swm_tutorial.jl b/ShallowWaters_tutorial/enzyme_swm_tutorial.jl index 5afa65b..19552a9 100644 --- a/ShallowWaters_tutorial/enzyme_swm_tutorial.jl +++ b/ShallowWaters_tutorial/enzyme_swm_tutorial.jl @@ -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""" @@ -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