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 );