diff --git a/src/filter.rs b/src/filter.rs index fd0261b..f606bca 100644 --- a/src/filter.rs +++ b/src/filter.rs @@ -344,7 +344,7 @@ impl BiquadBank { #[pyo3(name = "set_gains")] /// See: [BiquadBank::set_gains()] - pub fn set_gains_py<'py>(&mut self, py: Python<'py>, gains: PyArrayLike1) -> PyResult<()> { + pub fn set_gains_py<'py>(&mut self, gains: PyArrayLike1) -> PyResult<()> { if gains.len() != self.len() { return Err(PyValueError::new_err("Invalid number of provided gains")); } @@ -353,7 +353,7 @@ impl BiquadBank { } #[pyo3(name = "set_gains_dB")] /// See: [BiquadBank::set_gains_dB()] - pub fn set_gains_dB_py<'py>(&mut self, py: Python<'py>, gains_dB: PyArrayLike1) -> PyResult<()> { + pub fn set_gains_dB_py<'py>(&mut self, gains_dB: PyArrayLike1) -> PyResult<()> { if gains_dB.len() != self.len() { return Err(PyValueError::new_err("Invalid number of provided gains")); }