Bug in IirFilter.cs ?

Jun 21, 2014 at 12:21 PM
Hi, I just wondering, the file IirFilter.cs has probably bug in it. Please take a look at _buffer.
That variable will always array of zero and never initialized.
Jun 21, 2014 at 1:03 PM
Yes - this has been fixed in the filtering branch of Math.NET Numerics: https://github.com/mathnet/mathnet-numerics/blob/filtering/src/Numerics/Filtering/IIR/OnlineIirFilter.cs

After the v3 release of Math.NET Numerics we'll either revive the Neodym project with the fix (and upgrade it to the same structure as Numerics), or integrate it entirely into Math.NET Numerics. The former is more likely as of now, but of course input is welcome.

Marked as answer by stancrm on 6/21/2014 at 5:32 AM
Jun 21, 2014 at 1:32 PM