Skip to content

Commit

Permalink
TP: reversed order of merged situation sorting fns
Browse files Browse the repository at this point in the history
  • Loading branch information
gareth-walley committed Aug 28, 2024
1 parent b336ad4 commit 04730eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cegpy/trees/_staged.py
Original file line number Diff line number Diff line change
Expand Up @@ -651,8 +651,8 @@ def _execute_ahc(
else:
break

self._sort_merged_sit_tuples(merged_situation_list)
merged_situation_list = self._sort_list(merged_situation_list)
self._sort_merged_sit_tuples(merged_situation_list)
for sit in self.situations:
if sit not in list(chain(*merged_situation_list)):
merged_situation_list.append((sit,))
Expand Down

0 comments on commit 04730eb

Please sign in to comment.