Skip to content

Commit

Permalink
fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewprzh committed Sep 7, 2024
1 parent 69c9047 commit 0edb9ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/multimap_resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def select_noninformative(assignment_list, assignment_indices):
min_region_start = math.inf
best_assignment = -1
for info in overlap_index_list:
if info[0] == max_overlap_len and min_region_start < info[1]:
if info[0] == max_overlap_len and info[1] < min_region_start:
min_region_start = info[1]
best_assignment = info[2]

Expand Down

0 comments on commit 0edb9ed

Please sign in to comment.