diff --git a/cue/src/lsv_analysis.rs b/cue/src/lsv_analysis.rs index e9cea2f..4e52640 100644 --- a/cue/src/lsv_analysis.rs +++ b/cue/src/lsv_analysis.rs @@ -30,7 +30,7 @@ pub fn smooth(data: &[f32], window: usize) -> Vec { out } -pub fn find_extrema(v: &[f32], i_smooth: &[f32], min_prominence: f32) -> Vec<(usize, bool)> { +pub fn find_extrema(_v: &[f32], i_smooth: &[f32], min_prominence: f32) -> Vec<(usize, bool)> { let n = i_smooth.len(); if n < 3 { return Vec::new(); @@ -63,7 +63,6 @@ pub fn find_extrema(v: &[f32], i_smooth: &[f32], min_prominence: f32) -> Vec<(us prom >= min_prominence }); - let _ = v; // voltage array available for future use candidates }