Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt failing subcell tests for Julia version 1.11 #2107

Merged
merged 1 commit into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions test/test_p4est_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,8 @@ end
t = sol.t[end]
u_ode = sol.u[end]
du_ode = similar(u_ode)
# Larger values for allowed allocations due to usage of custom
# integrator which are not *recorded* for the methods from
# Larger values for allowed allocations due to usage of custom
# integrator which are not *recorded* for the methods from
# OrdinaryDiffEq.jl
# Corresponding issue: https://github.com/trixi-framework/Trixi.jl/issues/1877
@test (@allocated Trixi.rhs!(du_ode, u_ode, semi, t)) < 15000
Expand Down Expand Up @@ -496,10 +496,10 @@ end
@test_trixi_include(joinpath(EXAMPLES_DIR,
"elixir_euler_supersonic_cylinder_sc_subcell.jl"),
l2=[
0.11085870166618325,
0.23309905989870722,
0.11085869100230632,
0.23309900854310292,
0.13505351590735631,
0.7932047512585592
0.7932046814135086
bennibolm marked this conversation as resolved.
Show resolved Hide resolved
],
linf=[
2.9808773737943564,
Expand All @@ -514,8 +514,8 @@ end
t = sol.t[end]
u_ode = sol.u[end]
du_ode = similar(u_ode)
# Larger values for allowed allocations due to usage of custom
# integrator which are not *recorded* for the methods from
# Larger values for allowed allocations due to usage of custom
# integrator which are not *recorded* for the methods from
# OrdinaryDiffEq.jl
# Corresponding issue: https://github.com/trixi-framework/Trixi.jl/issues/1877
@test (@allocated Trixi.rhs!(du_ode, u_ode, semi, t)) < 15000
Expand Down
16 changes: 8 additions & 8 deletions test/test_tree_2d_euler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -416,16 +416,16 @@ end
@test_trixi_include(joinpath(EXAMPLES_DIR,
"elixir_euler_sedov_blast_wave_sc_subcell.jl"),
l2=[
0.4227549115123529,
0.14825759222652649,
0.14825759222682933,
0.6164668313131949
0.42274929059593996,
0.14825614518794877,
0.14825614518767963,
0.616466707835853
],
linf=[
1.6391908143728386,
0.8344433355906021,
0.8344433355966195,
6.450305752671201
1.6391650188422262,
0.8330633754652839,
0.8330633754763284,
6.450304018923273
],
tspan=(0.0, 1.0),
initial_refinement_level=4,
Expand Down
Loading