Skip to content

Commit

Permalink
fix elixir_burgers_shock.jl (#2222)
Browse files Browse the repository at this point in the history
* fix elixir_burgers_shock.jl

* update test values
  • Loading branch information
ranocha authored Jan 9, 2025
1 parent 679e4c7 commit 62e3584
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/tree_1d_dgsem/elixir_burgers_shock.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ volume_flux = flux_ec
surface_flux = flux_lax_friedrichs

volume_integral = VolumeIntegralShockCapturingHG(indicator_sc;
volume_flux_dg = surface_flux,
volume_flux_dg = volume_flux,
volume_flux_fv = surface_flux)

solver = DGSEM(basis, surface_flux, volume_integral)
Expand Down
4 changes: 2 additions & 2 deletions test/test_tree_1d_burgers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ end

@trixi_testset "elixir_burgers_shock.jl" begin
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_burgers_shock.jl"),
l2=[0.4422505602587537],
linf=[1.0000000000000009])
l2=[0.4429871964104191],
linf=[1.007778754747701])
# Ensure that we do not have excessive memory allocations
# (e.g., from type instabilities)
let
Expand Down

0 comments on commit 62e3584

Please sign in to comment.