Skip to content

Commit 05698af

Browse files
smoiaalaurasparsi
andcommitted
Fix mistake in minimal size detection
Co-authored-by: Stefano Moia <[email protected]> Co-authored-by: alaurasparsi <[email protected]>
1 parent 550567c commit 05698af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phys2denoise/metrics/multimodal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def retroicor(
185185

186186
if card_data is not None:
187187
# Cut to same length. It'll be better later.
188-
length = np.min(phases[n]["card"].size, phases[n]["resp"].size)
188+
length = np.min((phases[n]["card"].size, phases[n]["resp"].size))
189189
phases[n]["card"] = phases[n]["card"][:length]
190190
phases[n]["resp"] = phases[n]["resp"][:length]
191191

0 commit comments

Comments
 (0)