Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Co-authored-by: fonsecadeline <adeline.fonseca@mapotempo.com>
  • Loading branch information
senhalil and fonsecadeline authored Aug 13, 2020
1 parent fb50b6a commit 984a406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/heuristics/dichotomious_approach.rb
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ def self.kmeans(vrp, cut_symbol)
next if related_services.empty?

related_services.each{ |_related_service|
characteristics = { duration_from_and_to_depot: [0, 0] }
characteristics = { duration_from_and_to_depot: [0, 0] }
characteristics[:matrix_index] = point[:matrix_index] unless vrp.matrices.empty?
data_items << [point.location.lat, point.location.lon, point.id, unit_quantities, characteristics, [], 0]
}
Expand Down

0 comments on commit 984a406

Please sign in to comment.