Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoLaudatQM committed Apr 9, 2024
1 parent d294ad1 commit 1ae64d4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions qualang_tools/digital_filters/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,7 @@ def _warning_on_one_line(message, category, filename, lineno, file=None, line=No
return list(feedforward_taps), list(feedback_taps)


def _check_hardware_limitation_for_delay(
qop_version: Enum, feedforward_taps: List, feedback_taps_len: int):
def _check_hardware_limitation_for_delay(qop_version: Enum, feedforward_taps: List, feedback_taps_len: int):
max_feedforward_len = qop_version.value["feedforward_length"](feedback_taps_len)
if len(feedforward_taps) > max_feedforward_len:
feedforward_taps = feedforward_taps[:max_feedforward_len]
Expand Down

0 comments on commit 1ae64d4

Please sign in to comment.