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.
1 parent 6598181 commit d7af728Copy full SHA for d7af728
lib/ImplicitDiscreteSolve/src/solve.jl
@@ -34,7 +34,7 @@ end
34
function _initialize_dae!(integrator, prob::ImplicitDiscreteProblem,
35
alg::DefaultInit, x::Union{Val{true}, Val{false}})
36
isnothing(prob.u0) && return
37
- atol = 1e-12
+ atol = one(eltype(u0)) * 1e-12
38
if SciMLBase.has_initializeprob(prob.f)
39
_initialize_dae!(integrator, prob,
40
OverrideInit(atol), x)
0 commit comments