From 23ddf39a4aa42e1a90cb6bd78985ce75bcd99750 Mon Sep 17 00:00:00 2001 From: "J.A. de Jong - Redu-Sone B.V., ASCEE V.O.F." Date: Sat, 25 Nov 2023 17:10:53 +0100 Subject: [PATCH] Removed not necessary py in set_gains methods --- src/filter.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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")); }