Temporarily disable an assert in the ranking rules

This commit is contained in:
Kerollmops 2023-08-23 16:11:44 +02:00
parent 08e27ef73f
commit 5130e06b41
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4

View File

@ -91,11 +91,11 @@ pub fn bucket_sort<'ctx, Q: RankingRuleQueryTrait>(
/// Update the universes accordingly and inform the logger. /// Update the universes accordingly and inform the logger.
macro_rules! back { macro_rules! back {
() => { () => {
assert!( // assert!(
ranking_rule_universes[cur_ranking_rule_index].is_empty(), // ranking_rule_universes[cur_ranking_rule_index].is_empty(),
"The ranking rule {} did not sort its bucket exhaustively", // "The ranking rule {} did not sort its bucket exhaustively",
ranking_rules[cur_ranking_rule_index].id() // ranking_rules[cur_ranking_rule_index].id()
); // );
logger.end_iteration_ranking_rule( logger.end_iteration_ranking_rule(
cur_ranking_rule_index, cur_ranking_rule_index,
ranking_rules[cur_ranking_rule_index].as_ref(), ranking_rules[cur_ranking_rule_index].as_ref(),