Skip to content

Commit

Permalink
Merge pull request #2595 from SciML/nonisbits
Browse files Browse the repository at this point in the history
fallback for non-isbits bottom eltype
  • Loading branch information
ChrisRackauckas authored Feb 11, 2025
2 parents 1926905 + b290abf commit de873f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/OrdinaryDiffEqCore/src/solve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ function DiffEqBase.__init(
do_error_check = true
event_last_time = 0
vector_event_last_time = 1
last_event_error = prob isa DiscreteProblem ? false : zero(uBottomEltypeNoUnits)
last_event_error = prob isa DiscreteProblem ? false : (Base.isbitstype(uBottomEltypeNoUnits) ? zero(uBottomEltypeNoUnits) : 0.0)
dtchangeable = isdtchangeable(_alg)
q11 = QT(1)
success_iter = 0
Expand Down

0 comments on commit de873f3

Please sign in to comment.