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.
reltol
OverrideInit
1 parent c6d539b commit 534a5e2Copy full SHA for 534a5e2
src/SciMLBase.jl
@@ -351,13 +351,14 @@ struct CheckInit <: DAEInitializationAlgorithm end
351
"""
352
$(TYPEDEF)
353
354
-struct OverrideInit{T, F} <: DAEInitializationAlgorithm
355
- abstol::T
+struct OverrideInit{T1, T2, F} <: DAEInitializationAlgorithm
+ abstol::T1
356
+ reltol::T2
357
nlsolve::F
358
end
359
-function OverrideInit(; abstol = 1e-10, nlsolve = nothing)
360
- OverrideInit(abstol, nlsolve)
+function OverrideInit(; abstol = nothing, reltol = nothing, nlsolve = nothing)
361
+ OverrideInit(abstol, reltol, nlsolve)
362
363
OverrideInit(abstol) = OverrideInit(; abstol = abstol, nlsolve = nothing)
364
0 commit comments