Skip to content

Commit 652fa45

Browse files
committed
One more case where the input needs to be int.
1 parent c0843b6 commit 652fa45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nitime/analysis/snr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def __init__(self, input=None, bandwidth=None, adaptive=False,
9090
@desc.setattr_on_read
9191
def mt_frequencies(self):
9292
return np.linspace(0, self.input.sampling_rate / 2,
93-
self.input.data.shape[-1] / 2 + 1)
93+
self.input.data.shape[-1] // 2 + 1)
9494

9595
@desc.setattr_on_read
9696
def mt_signal_psd(self):

0 commit comments

Comments
 (0)