Try ThreadRng
This commit is contained in:
+2
-2
@@ -29,8 +29,8 @@ struct Cli {
|
||||
fn main() {
|
||||
let cli = Cli::parse();
|
||||
|
||||
let mut sys = DLASystem::<SmallRng, VectorStorage, LocalRandomWalker>::new(
|
||||
SmallRng::seed_from_u64(cli.seed),
|
||||
let mut sys = DLASystem::<ThreadRng, VectorStorage, LocalRandomWalker>::new(
|
||||
ThreadRng::default(),
|
||||
cli.max_particles,
|
||||
cli.stick_probability
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user