We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d1fb364 + cc5fc62 commit 330ae5eCopy full SHA for 330ae5e
1 file changed
src/problem/type.jl
@@ -518,7 +518,7 @@ function DataDrivenProblem(
518
sol::T; use_interpolation = false,
519
kwargs...
520
) where {T <: DiffEqBase.DESolution}
521
- if sol.retcode != :Success
+ if !DiffEqBase.SciMLBase.successful_retcode(sol)
522
throw(AssertionError("The solution is not successful. Abort."))
523
return
524
end
0 commit comments