Skip to content

Commit a21554d

Browse files
Merge pull request #17 from JuliaDiffEq/v0.6
v0.6 compatibility
2 parents a6f7cae + c60ebb9 commit a21554d

File tree

4 files changed

+7
-10
lines changed

4 files changed

+7
-10
lines changed

src/algorithms.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
abstract StochasticDiffEqAlgorithm <: AbstractSDEAlgorithm
2-
abstract StochasticDiffEqAdaptiveAlgorithm <: StochasticDiffEqAlgorithm
3-
abstract StochasticDiffEqCompositeAlgorithm <: StochasticDiffEqAlgorithm
1+
@compat abstract type StochasticDiffEqAlgorithm <: AbstractSDEAlgorithm end
2+
@compat abstract type StochasticDiffEqAdaptiveAlgorithm <: StochasticDiffEqAlgorithm end
3+
@compat abstract type StochasticDiffEqCompositeAlgorithm <: StochasticDiffEqAlgorithm end
44

55
@with_kw immutable EM{RSType} <: StochasticDiffEqAlgorithm
66
rswm::RSType = RSWM(adaptivealg=:RSwM1)

src/caches.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
abstract StochasticDiffEqCache <: DECache
2-
abstract StochasticDiffEqConstantCache <: StochasticDiffEqCache
3-
abstract StochasticDiffEqMutableCache <: StochasticDiffEqCache
1+
@compat abstract type StochasticDiffEqCache <: DECache end
2+
@compat abstract type StochasticDiffEqConstantCache <: StochasticDiffEqCache end
3+
@compat abstract type StochasticDiffEqMutableCache <: StochasticDiffEqCache end
44

55
type StochasticCompositeCache{T,F} <: StochasticDiffEqCache
66
caches::T

test/REQUIRE

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
Plots 0.9.2
21
DiffEqDevTools
32
DiffEqProblemLibrary
43
ParameterizedFunctions

test/sde/sde_numbertype_tests.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
1-
using StochasticDiffEq, Plots
1+
using StochasticDiffEq
22
srand(100)
33
prob = prob_sde_2Dlinear
44

55
## Solve and plot
66
println("Solve and Plot")
77
sol =solve(prob,SRI(),dt=1//2^(4),abstol=1,reltol=0)
88
err1 = sol.errors[:final]
9-
TEST_PLOT && plot(sol,plot_analytic=true,legend=false,title="tol = 1")
109

1110

1211
println("Solve and Plot")
1312
sol =solve(prob,SRI(),dt=1//2^(4),abstol=1,reltol=0)
1413
err1 = sol.errors[:final]
15-
TEST_PLOT && plot(sol,plot_analytic=true,legend=false,title="tol = 1")
1614

1715
@test true

0 commit comments

Comments
 (0)