Skip to content

Commit 5c9b715

Browse files
committed
fix lenght also
Signed-off-by: John E <jeis4wpi@outlook.com>
1 parent bb66bba commit 5c9b715

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cpp/src/routing/ges/compute_fragment_ejections.cuh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ DI i_t fill_to_delete(const typename solution_t<i_t, f_t, REQUEST>::view_t& solu
5050
cuopt_assert(BLOCK_SIZE % raft::WarpSize == 0, "Block size should be modulo of warp size");
5151

5252
const auto route_length = route.get_num_nodes();
53-
cuopt_assert(route_length >= 1, "Route lenght should be strictly positive");
53+
cuopt_assert(route_length >= 1, "Route length should be strictly positive");
5454

5555
if (intra_pickup_id + fragment_size >= route_length) {
5656
// Not enough to delete vrp case
@@ -106,7 +106,7 @@ DI i_t fill_to_delete(const typename solution_t<i_t, f_t, REQUEST>::view_t& solu
106106
cuopt_assert(BLOCK_SIZE % raft::WarpSize == 0, "Block size should be modulo of warp size");
107107

108108
const auto route_length = route.get_num_nodes();
109-
cuopt_assert(route_length >= 1, "Route lenght should be strictly positive");
109+
cuopt_assert(route_length >= 1, "Route length should be strictly positive");
110110

111111
// Check for fragement spanning to large (no looping around)
112112
// Range covered goes from intra_pickup_id to intra_pickup_id + blockDim.x

0 commit comments

Comments
 (0)