Skip to content

Commit

Permalink
Autoformatted structured 2d test.
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCan committed Nov 15, 2023
1 parent a8f555e commit b39c0b4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/test_structured_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -254,14 +254,14 @@ end
3.504466610437795e-5,
7.00893322087559e-5,
])
# Ensure that we do not have excessive memory allocations
# (e.g., from type instabilities)
let
t = sol.t[end]
u_ode = sol.u[end]
du_ode = similar(u_ode)
@test (@allocated Trixi.rhs!(du_ode, u_ode, semi, t)) < 1000
end
# Ensure that we do not have excessive memory allocations
# (e.g., from type instabilities)
let
t = sol.t[end]
u_ode = sol.u[end]
du_ode = similar(u_ode)
@test (@allocated Trixi.rhs!(du_ode, u_ode, semi, t)) < 1000
end
end

@trixi_testset "elixir_euler_source_terms.jl" begin
Expand Down

0 comments on commit b39c0b4

Please sign in to comment.