Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
reinterpretcat committed Oct 16, 2024
1 parent 049c9d7 commit 35bc337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vrp-core/src/construction/heuristics/evaluators.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ fn analyze_insertion_in_route(
move |lhs: &SingleContext, rhs: &SingleContext| {
eval_ctx
.result_selector
.select_cost(lhs.cost.as_ref().unwrap_or(&max_value), rhs.cost.as_ref().unwrap_or(&max_value))
.select_cost(lhs.cost.as_ref().unwrap_or(max_value), rhs.cost.as_ref().unwrap_or(max_value))
.is_left()
}
},
Expand Down

0 comments on commit 35bc337

Please sign in to comment.