cleanup and comment out unused functions
This commit is contained in:
parent
b7bb810065
commit
29d3b387dc
@ -159,6 +159,8 @@ impl Grid {
|
||||
);
|
||||
}
|
||||
|
||||
// No longer needed (moved to imgdata.rs)
|
||||
/*
|
||||
pub fn quantile(&self, fraction: f32) -> f32 {
|
||||
let index = if (fraction - 1.0_f32).abs() < f32::EPSILON {
|
||||
self.data.len() - 1
|
||||
@ -175,6 +177,7 @@ impl Grid {
|
||||
pub fn data(&self) -> &[f32] {
|
||||
&self.data
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
pub fn combine<T>(grids: &mut [Grid], attraction_table: &[T])
|
||||
|
||||
@ -194,7 +194,7 @@ impl Model {
|
||||
|
||||
pub fn render_all_imgdata(&self) {
|
||||
if !Path::new("./tmp").exists() {
|
||||
std::fs::create_dir("./tmp");
|
||||
std::fs::create_dir("./tmp").expect("could create directory");
|
||||
}
|
||||
|
||||
let pb = ProgressBar::new(self.img_data_vec.len() as u64);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user