Skip to content

Commit

Permalink
Seed the rng in Rmath as discussed in #1324
Browse files Browse the repository at this point in the history
  • Loading branch information
ViralBShah committed Oct 2, 2012
1 parent 17578f1 commit 9ab2b87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/Rmath.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
require("../extras/Rmath.jl")

srand(124)

function allEq(target::Vector{Float64}, current::Vector{Float64}, tolerance::Float64)
@assert numel(target) == numel(current)
if all(target == current)
Expand Down

0 comments on commit 9ab2b87

Please sign in to comment.