Skip to content

Commit 5c3584f

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

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
@@ -1172,7 +1172,7 @@ def _single_op_splits(self, op_single):
11721172
self.inputs[op_single],
11731173
container_ndim=self.container_ndim_all.get(op_single, 1),
11741174
)
1175-
val_ind = range(reduce(lambda x, y: x * y, shape, 1))
1175+
val_ind = range(prod(shape))
11761176
if op_single in self.inner_inputs:
11771177
# TODO: have to be changed if differ length
11781178
inner_len = [shape[-1]] * reduce(lambda x, y: x * y, shape[:-1], 1)

0 commit comments

Comments
 (0)