diff --git a/src/StochasticDiffEq.jl b/src/StochasticDiffEq.jl index f7a1350a..7ca7f147 100644 --- a/src/StochasticDiffEq.jl +++ b/src/StochasticDiffEq.jl @@ -91,6 +91,8 @@ end seed_multiplier() = 1 end + EnumX.@enumx AlgorithmInterpretation Ito Stratonovich + include("misc_utils.jl") include("algorithms.jl") include("options_type.jl") diff --git a/src/alg_utils.jl b/src/alg_utils.jl index c5bc8199..e3bbde00 100644 --- a/src/alg_utils.jl +++ b/src/alg_utils.jl @@ -133,8 +133,6 @@ beta1_default(alg::Union{StochasticDiffEqAlgorithm,StochasticDiffEqRODEAlgorithm isdtchangeable(alg::Union{StochasticDiffEqAlgorithm,StochasticDiffEqRODEAlgorithm}) = true -EnumX.@enumx AlgorithmInterpretation Ito Stratonovich - SciMLBase.alg_interpretation(alg::StochasticDiffEqAlgorithm) = AlgorithmInterpretation.Ito SciMLBase.alg_interpretation(alg::EulerHeun) = AlgorithmInterpretation.Stratonovich SciMLBase.alg_interpretation(alg::LambaEulerHeun) = AlgorithmInterpretation.Stratonovich