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 5c3584f commit 701dbfbCopy full SHA for 701dbfb
pydra/engine/state.py
@@ -1175,7 +1175,7 @@ def _single_op_splits(self, op_single):
1175
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)
+ inner_len = [shape[-1]] * prod(shape[:-1])
1179
1180
# this come from the previous node
1181
outer_ind = self.inner_inputs[op_single].ind_l
0 commit comments