diff --git a/dsp/src/lockin.rs b/dsp/src/lockin.rs index 61627cf..775398d 100644 --- a/dsp/src/lockin.rs +++ b/dsp/src/lockin.rs @@ -14,7 +14,10 @@ impl Lockin { /// Create a new Lockin with given IIR coefficients. pub fn new(ba: Vec5) -> Self { Self { - iir: IIR { ba, ..Default::default() }, + iir: IIR { + ba, + ..Default::default() + }, state: [Vec5::default(); 2], } }