Skip to content

Commit

Permalink
Update src/equations/svaerd_kalisch_1d.jl
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
JoshuaLampert and github-actions[bot] authored Dec 10, 2024
1 parent 874028b commit 25ad669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/equations/svaerd_kalisch_1d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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"))

Check warning on line 292 in src/equations/svaerd_kalisch_1d.jl

View check run for this annotation

Codecov / codecov/patch

src/equations/svaerd_kalisch_1d.jl#L292

Added line #L292 was not covered by tests
end
D1 = solver.D1
Expand Down

0 comments on commit 25ad669

Please sign in to comment.