Skip to content

Commit d13daba

Browse files
committed
Adjust abstol
1 parent 4078145 commit d13daba

File tree

1 file changed

+3
-3
lines changed
  • lib/BoundaryValueDiffEqMIRK/src

1 file changed

+3
-3
lines changed

lib/BoundaryValueDiffEqMIRK/src/mirk.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ end
3232

3333
Base.eltype(::MIRKCache{iip, T, use_both}) where {iip, T, use_both} = T
3434

35-
function SciMLBase.__init(prob::BVProblem, alg::AbstractMIRK; dt = 0.0, abstol = 1e-6,
36-
adaptive = true, controller = DefectControl(),
37-
nlsolve_kwargs = (; abstol = abstol / 100), kwargs...)
35+
function SciMLBase.__init(
36+
prob::BVProblem, alg::AbstractMIRK; dt = 0.0, abstol = 1e-6, adaptive = true,
37+
controller = DefectControl(), nlsolve_kwargs = (; abstol = abstol), kwargs...)
3838
@set! alg.jac_alg = concrete_jacobian_algorithm(alg.jac_alg, prob, alg)
3939
iip = isinplace(prob)
4040
diffcache = __cache_trait(alg.jac_alg)

0 commit comments

Comments
 (0)