Skip to content

Commit

Permalink
Merge pull request #14 from jagot/master
Browse files Browse the repository at this point in the history
WIP: v0.7 deprecations
  • Loading branch information
ChrisRackauckas authored Aug 11, 2018
2 parents c729a41 + de7f2e1 commit b5971d6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ mutable struct NoiseProcess{T,N,Tt,T2,T3,ZType,F,F2,inplace,S1,S2,RSWM,RNGType}
rswm = RSWM(),save_everystep=true,timeseries_steps=1,
rng = Xorshifts.Xoroshiro128Plus(rand(UInt64)),
reset = true, reseed = true) where iip
S₁ = DataStructures.Stack(Tuple{typeof(t0),typeof(W0),typeof(Z0)})
S₁ = DataStructures.Stack{Tuple{typeof(t0),typeof(W0),typeof(Z0)}}()
S₂ = ResettableStacks.ResettableStack(
Tuple{typeof(t0),typeof(W0),typeof(Z0)})
if Z0==nothing
Expand Down
2 changes: 1 addition & 1 deletion test/bridge_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using DiffEqNoiseProcess, DiffEqBase, DiffEqMonteCarlo,
Test, DataStructures, Random

srand(100)
Random.seed!(100)
W = BrownianBridge(0.0,1.0,0.0,1.0,0.0,0.0)
prob = NoiseProblem(W,(0.0,1.0))
monte_prob = MonteCarloProblem(prob)
Expand Down
4 changes: 2 additions & 2 deletions test/multi_dim.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ using DiffEqNoiseProcess, Random, Statistics

W = WienerProcess(0.0,rand(4,4),rswm=RSWM(adaptivealg=:RSwM3))

srand(200)
Random.seed!(200)
dt = 0.2
calculate_step!(W,dt)

Expand All @@ -22,7 +22,7 @@ end

W = WienerProcess!(0.0,rand(4,4),rand(4,4),rswm=RSWM(adaptivealg=:RSwM3))

srand(200)
Random.seed!(200)
dt = 0.2
calculate_step!(W,dt)

Expand Down
2 changes: 1 addition & 1 deletion test/sde_adaptivedistribution_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ using StochasticDiffEq, StatsBase, Distributions, HypothesisTests
using Random, DiffEqProblemLibrary

prob = prob_sde_linear
srand(200)
Random.seed!(200)
N = 100
M= 5
ps = Vector{Float64}(undef,M)
Expand Down

0 comments on commit b5971d6

Please sign in to comment.