Skip to content

Commit

Permalink
Update toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
reinterpretcat committed Mar 25, 2024
1 parent ae18047 commit 7fe847f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.76-alpine AS Builder
FROM rust:1.77-alpine AS Builder

LABEL maintainer="Ilya Builuk <[email protected]>" \
org.opencontainers.image.title="A Vehicle Routing Problem solver CLI" \
Expand Down
2 changes: 1 addition & 1 deletion rosomaxa/tests/unit/algorithms/gsom/network_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ mod common {
#[test]
fn can_train_network() {
let mut network = create_test_network(false);
let samples = vec![Data::new(1.0, 0.0, 0.0), Data::new(0.0, 1.0, 0.0), Data::new(0.0, 0.0, 1.0)];
let samples = [Data::new(1.0, 0.0, 0.0), Data::new(0.0, 1.0, 0.0), Data::new(0.0, 0.0, 1.0)];

// train
let random = DefaultRandom::default();
Expand Down
1 change: 1 addition & 0 deletions vrp-pragmatic/src/checker/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ pub struct CheckerContext {
}

/// Represents all possible activity types.
#[allow(dead_code)] // NOTE: keep data in each variant for future use
enum ActivityType {
Terminal,
Job(Job),
Expand Down

0 comments on commit 7fe847f

Please sign in to comment.