Skip to content

Commit

Permalink
fixed chroma_cens test. resolves #539
Browse files Browse the repository at this point in the history
  • Loading branch information
bmcfee committed Apr 7, 2017
1 parent 707ffd1 commit eb4ca15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librosa/feature/spectral.py
Expand Up @@ -1097,7 +1097,7 @@ def chroma_cens(y=None, sr=22050, C=None, hop_length=512, fmin=None,
win /= np.sum(win)
win = np.atleast_2d(win)

cens = scipy.signal.convolve2d(chroma_quant, win, mode='same')
cens = scipy.signal.convolve2d(chroma_quant, win, mode='same', boundary='fill')

# L2-Normalization
return util.normalize(cens, norm=norm, axis=0)
Expand Down

0 comments on commit eb4ca15

Please sign in to comment.