Fix very important typo
This commit is contained in:
parent
c779b2c663
commit
e0fde8b891
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ impl<const N: usize> FirCoefficients<N> {
|
||||||
pub fn design_fourth_order_linear_phase_low_pass_from_biquad(
|
pub fn design_fourth_order_linear_phase_low_pass_from_biquad(
|
||||||
biquad_coefs: BiquadCoefficients<f32>,
|
biquad_coefs: BiquadCoefficients<f32>,
|
||||||
) -> Self {
|
) -> Self {
|
||||||
// Ruest doesn't allow you to define this as a constant
|
// Rust doesn't allow you to define this as a constant
|
||||||
let center_idx = N / 2;
|
let center_idx = N / 2;
|
||||||
|
|
||||||
// We'll start with an impulse (at exactly half of this odd sized buffer)...
|
// We'll start with an impulse (at exactly half of this odd sized buffer)...
|
||||||
|
|
Loading…
Add table
Reference in a new issue