From 25ad669685329f0acf0eedbef99ed816f9646647 Mon Sep 17 00:00:00 2001 From: Joshua Lampert <51029046+JoshuaLampert@users.noreply.github.com> Date: Tue, 10 Dec 2024 12:39:37 +0100 Subject: [PATCH] Update src/equations/svaerd_kalisch_1d.jl Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- src/equations/svaerd_kalisch_1d.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/equations/svaerd_kalisch_1d.jl b/src/equations/svaerd_kalisch_1d.jl index 1184ca09..01ed7bcc 100644 --- a/src/equations/svaerd_kalisch_1d.jl +++ b/src/equations/svaerd_kalisch_1d.jl @@ -288,7 +288,7 @@ function create_cache(mesh, equations::SvaerdKalischEquations1D, solver, initial_condition, ::BoundaryConditionReflecting, RealT, uEltype) - if !iszero(equations.alpha) || !iszero(equations.gamma,) + if !iszero(equations.alpha) || !iszero(equations.gamma) throw(ArgumentError("Reflecting boundary conditions for Svärd-Kalisch equations only implemented for alpha = gamma = 0")) end D1 = solver.D1