There was an error while loading. Please reload this page.
1 parent b86ddd9 commit 4d8ea01Copy full SHA for 4d8ea01
1 file changed
bughog/search_strategy/bgb_search.py
@@ -86,6 +86,8 @@ def __get_next_pair_to_split(self) -> Optional[tuple[State, State]]:
86
# Remove the first and last pair if they have a first and last state without a result, respectively
87
if pairs[0][0].result_variables is None:
88
pairs = pairs[1:]
89
+ if not pairs:
90
+ return None
91
if pairs[-1][1].result_variables is None:
92
pairs = pairs[:-1]
93
# Remove all pairs that have already been identified as unavailability gaps
0 commit comments