Skip to content

Commit

Permalink
Fix warnings and compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
reinterpretcat committed Nov 28, 2024
1 parent 734cd7b commit 29a120f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vrp-core/tests/unit/algorithms/structures/bitvec_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ fn can_use_len_and_is_empty() {
fn can_index() {
let mut bitvec = BitVec::new(10);
bitvec.set(3, true);
assert_eq!(bitvec[3], true);
assert_eq!(bitvec[4], false);
assert!(bitvec[3]);
assert!(!bitvec[4]);
}

#[test]
Expand Down
1 change: 1 addition & 0 deletions vrp-scientific/benches/solomon_goal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ where
black_box(actual_fn(
&insertion_ctx.problem.goal,
&MoveContext::Activity {
solution_ctx,
route_ctx,
activity_ctx: &ActivityContext { index: 7, prev, target: &target, next },
},
Expand Down

0 comments on commit 29a120f

Please sign in to comment.