Skip to content

Commit

Permalink
Make loop termination more specific
Browse files Browse the repository at this point in the history
  • Loading branch information
JanCBrammer committed Dec 4, 2024
1 parent baa232e commit 3b58659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tucan/canonicalization.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def get_refinement_tree_levels(
"""
parents = [m]

while True:
while parents:
yield parents
if all(map(partitioning_is_discrete, parents)):
return
Expand Down

0 comments on commit 3b58659

Please sign in to comment.