Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
mbsantiago committed Jan 4, 2024
1 parent aa3f300 commit f52dc83
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/soundevent/audio/spectrum.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,7 @@ def pcen_core(
# if axis = +- 1, max_axis = 0
max_axis = np.mod(1 - axis, 2)

ref = scipy.ndimage.maximum_filter1d(
S, max_size, axis=max_axis
)
ref = scipy.ndimage.maximum_filter1d(S, max_size, axis=max_axis)

# NOTE: Type checker trick
assert ref is not None
Expand Down

0 comments on commit f52dc83

Please sign in to comment.