Skip to content

Commit

Permalink
update to ()
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Nov 20, 2016
1 parent 77795f1 commit 07dd1f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sde/sde_solve.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
function solve{uType,tType,isinplace,NoiseClass,F,F2,F3,alg}(
function solve{uType,tType,isinplace,NoiseClass,F,F2,F3,algType}(
prob::AbstractSDEProblem{uType,tType,isinplace,NoiseClass,F,F2,F3},
algType::Type{alg};
alg::algType;
dt::Number=0.0,save_timeseries::Bool = true,
timeseries_steps::Int = 1,adaptive=false=2.0,alg_hint=nothing,
abstol=1e-3,reltol=1e-6,qmax=1.125=1/6,maxiters::Int = round(Int,1e9),
Expand Down Expand Up @@ -37,7 +37,7 @@ function solve{uType,tType,isinplace,NoiseClass,F,F2,F3,alg}(
end

if dt == 0.0
if alg==Euler
if alg==EM
order = 0.5
elseif alg==RKMil
order = 1.0
Expand Down

0 comments on commit 07dd1f6

Please sign in to comment.