From 9ab2b87297318abe27b2d8c600f69c1cf0b62aa4 Mon Sep 17 00:00:00 2001 From: "Viral B. Shah" Date: Tue, 2 Oct 2012 21:43:40 +0530 Subject: [PATCH] Seed the rng in Rmath as discussed in #1324 --- test/Rmath.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/Rmath.jl b/test/Rmath.jl index a9042a388778d..cea9bfa4b0c15 100644 --- a/test/Rmath.jl +++ b/test/Rmath.jl @@ -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)