Skip to content

Commit 701dbfb

Browse files
tcloseeffigies
andauthored
Update pydra/engine/state.py
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent 5c3584f commit 701dbfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydra/engine/state.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1175,7 +1175,7 @@ def _single_op_splits(self, op_single):
11751175
val_ind = range(prod(shape))
11761176
if op_single in self.inner_inputs:
11771177
# TODO: have to be changed if differ length
1178-
inner_len = [shape[-1]] * reduce(lambda x, y: x * y, shape[:-1], 1)
1178+
inner_len = [shape[-1]] * prod(shape[:-1])
11791179

11801180
# this come from the previous node
11811181
outer_ind = self.inner_inputs[op_single].ind_l

0 commit comments

Comments
 (0)