Skip to content

Commit 4225da9

Browse files
authored
1415 is already scalar-> revert
1 parent f045ef2 commit 4225da9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/MEArec/generators/recordinggenerator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1412,7 +1412,7 @@ def generate_recordings(
14121412
if cutoff.size == 1:
14131413
pad_samples_filt = 3 * int((1.0 / cutoff * fs).magnitude[0])
14141414
elif cutoff.size == 2:
1415-
pad_samples_filt = 3 * int((1.0 / cutoff[0] * fs).magnitude[0])
1415+
pad_samples_filt = 3 * int((1.0 / cutoff[0] * fs).magnitude)
14161416

14171417
# call the loop on chunks
14181418
args = (

0 commit comments

Comments
 (0)