Remove slight divergence
This commit is contained in:
+3
-2
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user