refactor(workflow): move _merge_conv_vars call inside iteration loop for consistent state updates
This commit is contained in:
@@ -249,9 +249,9 @@ class IterationRuntime:
|
|||||||
else:
|
else:
|
||||||
self.result.append(output)
|
self.result.append(output)
|
||||||
child_state.append(result)
|
child_state.append(result)
|
||||||
|
self._merge_conv_vars(child_pool)
|
||||||
if stopped:
|
if stopped:
|
||||||
self.looping = False
|
self.looping = False
|
||||||
self._merge_conv_vars(batch_sorted[-1][3])
|
|
||||||
else:
|
else:
|
||||||
# Execute iterations sequentially
|
# Execute iterations sequentially
|
||||||
while idx < len(array_obj) and self.looping:
|
while idx < len(array_obj) and self.looping:
|
||||||
|
|||||||
Reference in New Issue
Block a user