From 593eff5d1b5154adbf26e010d3ad6f8cee4cce3e Mon Sep 17 00:00:00 2001 From: Joshua Coles Date: Fri, 3 Mar 2023 16:33:59 +0000 Subject: [PATCH] Change back to SmallRng to restore reproducability --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 2cc48ec..5fd512d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -31,8 +31,8 @@ fn main() { println!("Running: {:?}", cli); - let mut sys = DLASystem::::new( - ThreadRng::default(), + let mut sys = DLASystem::::new( + SmallRng::seed_from_u64(cli.seed), cli.max_particles, cli.stick_probability );