Skip to content

Don't crash in butter_design_fun when order > 0 with no corners#156

Merged
cboulay merged 1 commit into
devfrom
cboulay/butter_no_corners
Jun 12, 2026
Merged

Don't crash in butter_design_fun when order > 0 with no corners#156
cboulay merged 1 commit into
devfrom
cboulay/butter_no_corners

Conversation

@cboulay

@cboulay cboulay commented Jun 12, 2026

Copy link
Copy Markdown
Member

order > 0 with neither cuton nor cutoff set is a valid "no filter" request: filter_specs() returns None, which butter_design_fun now treats as passthrough (coefs stays None -> the transformer returns the input unchanged) instead of crashing on an unpack of None.

order > 0 with neither cuton nor cutoff set is a valid "no filter"
request: filter_specs() returns None, which butter_design_fun now
treats as passthrough (coefs stays None -> the transformer returns
the input unchanged) instead of crashing on an unpack of None.
@cboulay cboulay merged commit b8521e4 into dev Jun 12, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant