Closed chipmuenk closed 11 months ago
I'm looking at this problem. Just for information, as of today, I've been able to reproduce the bug into the branch "file_io", but not on branch "master".
When a complex pole/zero was entered, the array ba
was converted into complex type if necessary, but not the ba_q
array. Trying to assign the complex value to float type array ba_q
was causing the crash, hence I added a line to convert ba_q
into complex type before assignment, similarly to what was done with the ba
array.
This can be reproduced by selecting a FIR filter in the coefficient tab, clearing the coefficients and entering the coefficients '1' and '1j' and saving.
Creating complex coefficients by deleting a pole or zero in the P/Z editor, does not cause a crash. Editing the complex coefficients created this way also works without problems.