Skip to content

Commit

Permalink
flake8.
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentqb committed May 4, 2020
1 parent 86bfeaf commit 4150097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchaudio/functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ def create_fb_matrix(

if str(norm) == "slaney":
# Slaney-style mel is scaled to be approx constant energy per channel
enorm = 2.0 / (f_pts[2 : n_mels + 2] - f_pts[:n_mels])
enorm = 2.0 / (f_pts[2:n_mels + 2] - f_pts[:n_mels])
fb *= enorm.unsqueeze(0)

return fb
Expand Down

0 comments on commit 4150097

Please sign in to comment.