Commit 82bc896
Fix trajectory group duplication in gather_trajectory_groups (#312)
The after_each callback in gather_trajectory_groups was causing group
duplication by appending returned groups to the existing processed_groups
list. This resulted in both the original groups and the groups returned
by the callback being included in the final result.
Fixed by resetting processed_groups to an empty list before collecting
the after_each callback results, ensuring only the callback-returned
groups are included in the final output.
Amp-Thread-ID: https://ampcode.com/threads/T-46ce9369-cd67-44ca-b963-75c14498132e
Co-authored-by: Amp <[email protected]>1 parent ab57ee9 commit 82bc896
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
0 commit comments