Skip to content

Commit

Permalink
Merge branch '391-iirfilt-null' into release-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
jgaeddert committed Feb 1, 2025
2 parents f020941 + 5731b10 commit 4ef3277
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/filter/src/iirfilt.proto.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,8 @@ IIRFILT() IIRFILT(_create_prototype)(liquid_iirdes_filtertype _ftype,
float A[h_len];

// design filter (compute coefficients)
liquid_iirdes(_ftype, _btype, _format, _order, _fc, _f0, _ap, _as, B, A);
if (liquid_iirdes(_ftype, _btype, _format, _order, _fc, _f0, _ap, _as, B, A) != LIQUID_OK)
return liquid_error_config("iirfilt_%s_create_prototype(), could not design filter", EXTENSION_FULL);

// move coefficients to type-specific arrays (e.g. float complex)
TC Bc[h_len];
Expand Down

0 comments on commit 4ef3277

Please sign in to comment.