Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
fix deps
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Aug 17, 2018
1 parent 090b9a2 commit b9b781e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/monte.jl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ prob_func = function (prob,i,repeat)
end


srand(100)
Random.seed!(100)
reduction = function (u,batch,I)
u = append!(u,batch)
u,((var(u)/sqrt(last(I)))/mean(u)<0.5) ? true : false
Expand All @@ -75,7 +75,7 @@ sim = solve(prob2,Tsit5(),num_monte=10000,batch_size=20)
@test sim.converged == true


srand(100)
Random.seed!(100)
reduction = function (u,batch,I)
u = append!(u,batch)
u,false
Expand All @@ -85,7 +85,7 @@ prob2 = MonteCarloProblem(prob,prob_func=prob_func,output_func=output_func,reduc
sim = solve(prob2,Tsit5(),num_monte=100,batch_size=20)
@test sim.converged == false

srand(100)
Random.seed!(100)
reduction = function (u,batch,I)
u+sum(batch),false
end
Expand Down

0 comments on commit b9b781e

Please sign in to comment.