berndporr/iirj

Issue with Odd-Order Highpass Filters

Closed this issue · 2 comments

anleu commented

After introducing new tests, it was observed that highpass filters of odd order produce incorrect results. This issue has already been reported in the original library, as seen in this issue.

The proposed fix appears to be effective. Both tbrunsch and I have tested the fix, and it seems to work without introducing any other issues. Additionally, upon reviewing the code, we've verified that the changes exclusively affect the highpass filter and do so correctly.

We will be submitting a PR that includes both the unit tests and the fix for this problem.

id-0001
thanks. Indeed. Pole and zero should end up in the same coefficient as the math is the same of both numerator and denominator.

anleu commented

Bug is fixed with commit 54e8e38.