From 32f0e8294da9d42f5bbdcfd1d42254e21e5a335b Mon Sep 17 00:00:00 2001 From: Joshua Lampert <51029046+JoshuaLampert@users.noreply.github.com> Date: Fri, 30 Aug 2024 09:03:31 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Hendrik Ranocha --- src/equations/bbm_bbm_1d.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/equations/bbm_bbm_1d.jl b/src/equations/bbm_bbm_1d.jl index 5ffe2c90..ab3dbfdf 100644 --- a/src/equations/bbm_bbm_1d.jl +++ b/src/equations/bbm_bbm_1d.jl @@ -99,7 +99,7 @@ function initial_condition_manufactured(x, t, eta = exp(t) * cospi(2 * (x - 2 * t)) v = exp(t / 2) * sinpi(2 * (x - t / 2)) if equations.bathymetry_type isa BathymetryFlat - D = 4 + D = 4.0 else # equations.bathymetry_type isa BathymetryVariable D = 5 + 2 * cospi(2 * x) end @@ -171,7 +171,7 @@ function initial_condition_manufactured_reflecting(x, t, eta = exp(2 * t) * cospi(x) v = exp(t) * x * sinpi(x) if equations.bathymetry_type isa BathymetryFlat - D = 4 + D = 4.0 else # equations.bathymetry_type isa BathymetryVariable D = 5 + 2 * cospi(2 * x) end