Skip to content

Commit 17898cf

Browse files
committed
add prob to integrator struct
1 parent 99ebebc commit 17898cf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/types.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
FLOATING_POINT_LIMIT
77
end
88

9-
struct BracketingImmutableSolver{fType, algType, uType, resType, pType, cacheType} <: AbstractImmutableNonlinearSolver
9+
struct BracketingImmutableSolver{fType, algType, uType, resType, pType, cacheType, probType} <: AbstractImmutableNonlinearSolver
1010
iter::Int
1111
f::fType
1212
alg::algType
@@ -20,14 +20,15 @@ struct BracketingImmutableSolver{fType, algType, uType, resType, pType, cacheTyp
2020
retcode::Retcode
2121
cache::cacheType
2222
iip::Bool
23+
prob::probType
2324
end
2425

2526
# function BracketingImmutableSolver(iip, iter, f, alg, left, right, fl, fr, p, force_stop, maxiters, retcode, cache)
2627
# BracketingImmutableSolver{iip, typeof(f), typeof(alg),
2728
# typeof(left), typeof(fl), typeof(p), typeof(cache)}(iter, f, alg, left, right, fl, fr, p, force_stop, maxiters, retcode, cache)
2829
# end
2930

30-
struct NewtonImmutableSolver{fType, algType, uType, resType, pType, INType, tolType, cacheType} <: AbstractImmutableNonlinearSolver
31+
struct NewtonImmutableSolver{fType, algType, uType, resType, pType, INType, tolType, cacheType, probType} <: AbstractImmutableNonlinearSolver
3132
iter::Int
3233
f::fType
3334
alg::algType
@@ -41,6 +42,7 @@ struct NewtonImmutableSolver{fType, algType, uType, resType, pType, INType, tolT
4142
tol::tolType
4243
cache::cacheType
4344
iip::Bool
45+
prob::probType
4446
end
4547

4648
# function NewtonImmutableSolver{iip}(iter, f, alg, u, fu, p, force_stop, maxiters, internalnorm, retcode, tol, cache) where iip

0 commit comments

Comments
 (0)