Skip to content

Commit

Permalink
do not fix the bug here
Browse files Browse the repository at this point in the history
  • Loading branch information
ranocha committed Sep 8, 2022
1 parent bb74068 commit 3e578d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diffeq_callbacks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function SavingCallback(semi::AbstractSemidiscretization; kwargs...)

save_func = (u,t,integrator) -> integrate(u->ScalarIntegralQuantities(u,u^2),
u,
SciMLBase.unwrapped_f(integrator.f.f).f)
SciMLBase.unwrapped_f(integrator.f.f))
saved_values = SavedValues(T, ScalarIntegralQuantities{T})
SavingCallback(save_func, saved_values; kwargs...)
end

0 comments on commit 3e578d3

Please sign in to comment.