Skip to content

Commit d7af728

Browse files
committed
up
1 parent 6598181 commit d7af728

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ImplicitDiscreteSolve/src/solve.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ end
3434
function _initialize_dae!(integrator, prob::ImplicitDiscreteProblem,
3535
alg::DefaultInit, x::Union{Val{true}, Val{false}})
3636
isnothing(prob.u0) && return
37-
atol = 1e-12
37+
atol = one(eltype(u0)) * 1e-12
3838
if SciMLBase.has_initializeprob(prob.f)
3939
_initialize_dae!(integrator, prob,
4040
OverrideInit(atol), x)

0 commit comments

Comments
 (0)