Skip to content

Commit 62e3584

Browse files
authored
fix elixir_burgers_shock.jl (#2222)
* fix elixir_burgers_shock.jl * update test values
1 parent 679e4c7 commit 62e3584

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/tree_1d_dgsem/elixir_burgers_shock.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ volume_flux = flux_ec
1919
surface_flux = flux_lax_friedrichs
2020

2121
volume_integral = VolumeIntegralShockCapturingHG(indicator_sc;
22-
volume_flux_dg = surface_flux,
22+
volume_flux_dg = volume_flux,
2323
volume_flux_fv = surface_flux)
2424

2525
solver = DGSEM(basis, surface_flux, volume_integral)

test/test_tree_1d_burgers.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ end
4040

4141
@trixi_testset "elixir_burgers_shock.jl" begin
4242
@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_burgers_shock.jl"),
43-
l2=[0.4422505602587537],
44-
linf=[1.0000000000000009])
43+
l2=[0.4429871964104191],
44+
linf=[1.007778754747701])
4545
# Ensure that we do not have excessive memory allocations
4646
# (e.g., from type instabilities)
4747
let

0 commit comments

Comments
 (0)