@@ -572,7 +572,7 @@ function init_up(prob::AbstractDEProblem, sensealg, u0, p, args...; kwargs...)
572
572
if tstops === nothing && has_kwargs (prob)
573
573
tstops = get (prob. kwargs, :tstops , nothing )
574
574
end
575
- if ! (tstops isa Union{Nothing, AbstractArray, Tuple}) && ! SciMLBase. allows_late_binding_tstops (alg)
575
+ if ! (tstops isa Union{Nothing, AbstractArray, Tuple, Real }) && ! SciMLBase. allows_late_binding_tstops (alg)
576
576
throw (LateBindingTstopsNotSupportedError ())
577
577
end
578
578
_prob = get_concrete_problem (prob, isadaptive (alg); u0 = u0, p = p, kwargs... )
@@ -1108,7 +1108,7 @@ function solve_up(prob::Union{AbstractDEProblem, NonlinearProblem}, sensealg, u0
1108
1108
if tstops === nothing && has_kwargs (prob)
1109
1109
tstops = get (prob. kwargs, :tstops , nothing )
1110
1110
end
1111
- if ! (tstops isa Union{Nothing, AbstractArray, Tuple}) && ! SciMLBase. allows_late_binding_tstops (alg)
1111
+ if ! (tstops isa Union{Nothing, AbstractArray, Tuple, Real }) && ! SciMLBase. allows_late_binding_tstops (alg)
1112
1112
throw (LateBindingTstopsNotSupportedError ())
1113
1113
end
1114
1114
_prob = get_concrete_problem (prob, isadaptive (alg); u0 = u0, p = p, kwargs... )
0 commit comments