We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9db0213 commit 5c3584fCopy full SHA for 5c3584f
pydra/engine/state.py
@@ -1172,7 +1172,7 @@ def _single_op_splits(self, op_single):
1172
self.inputs[op_single],
1173
container_ndim=self.container_ndim_all.get(op_single, 1),
1174
)
1175
- val_ind = range(reduce(lambda x, y: x * y, shape, 1))
+ val_ind = range(prod(shape))
1176
if op_single in self.inner_inputs:
1177
# TODO: have to be changed if differ length
1178
inner_len = [shape[-1]] * reduce(lambda x, y: x * y, shape[:-1], 1)
0 commit comments