cleanup and comment out unused functions

This commit is contained in:
Simon Gardling
2021-04-01 10:45:09 -04:00
parent b7bb810065
commit 29d3b387dc
2 changed files with 4 additions and 1 deletions

View File

@@ -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])