Skip to content

Commit 196b3cc

Browse files
committed
fix vcc too
1 parent 182f365 commit 196b3cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/callbacks.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ function find_callback_time(integrator,callback::VectorContinuousCallback,counte
717717
end
718718
iter == 12 && error("Double callback crossing floating pointer reducer errored. Report this issue.")
719719
end
720-
Θ = bisection(zero_func, (bottom_t,top_t), integrator.tdir)
720+
Θ = bisection(zero_func, (bottom_t,top_t), integrator.tdir; noleft=(bottom_t==integrator.tprev))
721721
if integrator.tdir * Θ < integrator.tdir * min_t
722722
integrator.last_event_error = ODE_DEFAULT_NORM(zero_func(Θ), Θ)
723723
end

0 commit comments

Comments
 (0)