Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
efaulhaber committed Jun 11, 2024
1 parent ef33e45 commit e3687de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/count_allocations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function count_rhs_allocations(sol, semi)

try
# Disable timers, which cause extra allocations
TrixiParticles.TimerOutputs.disable_debug_timings(TrixiParticles)
TrixiParticles.disable_debug_timings()

# Disable multithreading, which causes extra allocations
return disable_polyester_threads() do
Expand All @@ -57,7 +57,7 @@ function count_rhs_allocations(sol, semi)
end
finally
# Enable timers again
@invokelatest TrixiParticles.TimerOutputs.enable_debug_timings(TrixiParticles)
@invokelatest TrixiParticles.enable_debug_timings()
end
end

Expand Down

0 comments on commit e3687de

Please sign in to comment.