Remove slight divergence

This commit is contained in:
2023-03-03 10:38:42 +00:00
parent 639be88ce1
commit 0752370ee7
3 changed files with 22 additions and 12 deletions
+3 -2
View File
@@ -3,6 +3,7 @@ use std::fs::File;
use std::io;
use std::io::Write;
use std::ops::Add;
use std::path::PathBuf;
use nd_array::Array;
use rand::prelude::*;
@@ -22,7 +23,7 @@ struct Cli {
seed: u64,
max_particles: usize,
stick_probability: f32,
csv_path: String,
csv_path: PathBuf,
}
fn main() {
@@ -38,6 +39,6 @@ fn main() {
sys.update();
}
sys.export_data()
sys.export_data(&cli.csv_path)
.expect("Failed to write");
}