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 ccdb58c commit 50c35a8Copy full SHA for 50c35a8
pydra/engine/state.py
@@ -1193,10 +1193,9 @@ def _single_op_splits(self, op_single):
1193
)
1194
val_ind = range(reduce(lambda x, y: x * y, shape))
1195
if op_single in self.inner_inputs:
1196
- if len(shape) == 1:
1197
- breakpoint()
1198
# TODO: have to be changed if differ length
1199
- inner_len = [shape[-1]] * reduce(lambda x, y: x * y, shape[:-1])
+ inner_len = [shape[-1]] * reduce(lambda x, y: x * y, shape[:-1], 1)
+
1200
# this come from the previous node
1201
outer_ind = self.inner_inputs[op_single].ind_l
1202
op_out = itertools.chain.from_iterable(
0 commit comments