lib/fathom/data_node.rb in fathom-0.2.0 vs lib/fathom/data_node.rb in fathom-0.2.1
- old
+ new
@@ -37,10 +37,10 @@
rng.gaussian(std) + mean
end
protected
def rng
- @rng ||= GSL::Rng.alloc
+ @rng ||= GSL::Rng.alloc(GSL::Rng::MT19937_1999, Kernel.rand(100_000))
end
end
if __FILE__ == $0