From 40c19c1eada2a4f75f2d803cba80843cd90294b9 Mon Sep 17 00:00:00 2001 From: Joshua Lampert <51029046+JoshuaLampert@users.noreply.github.com> Date: Sat, 24 Aug 2024 18:35:03 +0200 Subject: [PATCH] Update src/equations/serre_green_naghdi_1d.jl --- src/equations/serre_green_naghdi_1d.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/equations/serre_green_naghdi_1d.jl b/src/equations/serre_green_naghdi_1d.jl index bdcc3477..c9813f77 100644 --- a/src/equations/serre_green_naghdi_1d.jl +++ b/src/equations/serre_green_naghdi_1d.jl @@ -796,7 +796,7 @@ end # The modified entropy/energy takes the whole `q` for every point in space """ - DispersiveShallowWater.energy_total_modified!(q_global, equations::SerreGreenNaghdiEquations1D, cache) + DispersiveShallowWater.energy_total_modified!(e, q_global, equations::SerreGreenNaghdiEquations1D, cache) Return the modified total energy `e` of the primitive variables `q_global` for the [`SerreGreenNaghdiEquations1D`](@ref).