Change back to SmallRng to restore reproducability
This commit is contained in:
+2
-2
@@ -31,8 +31,8 @@ fn main() {
|
||||
|
||||
println!("Running: {:?}", cli);
|
||||
|
||||
let mut sys = DLASystem::<ThreadRng, VectorStorage, LocalRandomWalker>::new(
|
||||
ThreadRng::default(),
|
||||
let mut sys = DLASystem::<SmallRng, VectorStorage, LocalRandomWalker>::new(
|
||||
SmallRng::seed_from_u64(cli.seed),
|
||||
cli.max_particles,
|
||||
cli.stick_probability
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user