Skip to content

Commit

Permalink
try to make context selection more deterministic
Browse files Browse the repository at this point in the history
  • Loading branch information
glennhickey committed Jun 5, 2024
1 parent f69d5b1 commit c3fbc95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deconstructor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ bool Deconstructor::deconstruct_site(const handle_t& snarl_start, const handle_t
context),
ref_travs[j]));
}
std::sort(ref_mappings.begin(), ref_mappings.end());
std::stable_sort(ref_mappings.begin(), ref_mappings.end());
// the best is the last, which has the highest jaccard
path_trav_to_ref_trav[i] = ref_mappings.back().second;
}
Expand Down

0 comments on commit c3fbc95

Please sign in to comment.