Skip to content

Commit 652ff37

Browse files
allow Inf maxiters
1 parent 3250f1b commit 652ff37

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/options_type.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
type SDEOptions{uEltype,uEltypeNoUnits,tTypeNoUnits,tType,F2,F3,F4,F5,F6,tstopsType,ECType,SType}
2-
maxiters::Int
1+
type SDEOptions{uEltype,uEltypeNoUnits,tTypeNoUnits,tType,F2,F3,F4,F5,F6,tstopsType,ECType,SType,MI}
2+
maxiters::MI
33
timeseries_steps::Int
44
save_everystep::Bool
55
adaptive::Bool

src/solve.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ function init{uType,tType,isinplace,algType<:Union{AbstractRODEAlgorithm,Abstrac
206206

207207
uEltype = recursive_eltype(u)
208208

209-
opts = SDEOptions(Int(maxiters),timeseries_steps,save_everystep,adaptive,uEltype(uEltype(1)*abstol),
209+
opts = SDEOptions(maxiters,timeseries_steps,save_everystep,adaptive,uEltype(uEltype(1)*abstol),
210210
uEltypeNoUnits(reltol),tTypeNoUnits(gamma),tTypeNoUnits(qmax),tTypeNoUnits(qmin),
211211
dtmax,dtmin,internalnorm,save_idxs,
212212
tstops_internal,saveat_internal,d_discontinuities_internal,

0 commit comments

Comments
 (0)