Skip to content

Commit

Permalink
Merge 04d1aae into 8bdd006
Browse files Browse the repository at this point in the history
  • Loading branch information
bmcfee committed Nov 22, 2016
2 parents 8bdd006 + 04d1aae commit ad0d946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librosa/filters.py
Expand Up @@ -391,7 +391,7 @@ def _wrap(n, *args, **kwargs):
'''The wrapped window'''
n_min, n_max = int(np.floor(n)), int(np.ceil(n))

window = get_window(window_spec, n)
window = get_window(window_spec, n_min)

if len(window) < n_max:
window = np.pad(window, [(0, n_max - len(window))],
Expand Down

0 comments on commit ad0d946

Please sign in to comment.