Change back to SmallRng to restore reproducability

This commit is contained in:
2023-03-03 16:33:59 +00:00
parent 9640a32674
commit 593eff5d1b
+2 -2
View File
@@ -31,8 +31,8 @@ fn main() {
println!("Running: {:?}", cli); println!("Running: {:?}", cli);
let mut sys = DLASystem::<ThreadRng, VectorStorage, LocalRandomWalker>::new( let mut sys = DLASystem::<SmallRng, VectorStorage, LocalRandomWalker>::new(
ThreadRng::default(), SmallRng::seed_from_u64(cli.seed),
cli.max_particles, cli.max_particles,
cli.stick_probability cli.stick_probability
); );