1
0
Fork 0

Allow evaluate_plain() to be unused

We won't need this, but it being there makes everything a lot clearer.
This commit is contained in:
Robbert van der Helm 2023-03-21 22:51:55 +01:00
parent ea4dd8ead2
commit ab66152f00

View file

@ -55,6 +55,7 @@ impl<'a> Curve<'a> {
/// Evaluate the curve for a value in Hertz.
#[inline]
#[allow(unused)]
pub fn evaluate_plain(&self, freq: f32) -> f32 {
self.evaluate_log2(freq.log2())
}