Closed oscardssmith closed 2 months ago
I was missing a let that was causing tstops to be captured by the condition closure. Fixes https://github.com/SciML/DiffEqCallbacks.jl/issues/217. We now get
let
tstops
condition
julia> @time solve(prob, Tsit5(), callback=callback); 0.000988 seconds (95 allocations: 44.703 KiB)
where all the additional allocations are in the init stage.
init
I was missing a
let
that was causingtstops
to be captured by thecondition
closure. Fixes https://github.com/SciML/DiffEqCallbacks.jl/issues/217. We now getwhere all the additional allocations are in the
init
stage.