Skip to content

Commit

Permalink
Switch to uint64_t for Cost and Duration.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoupey committed Nov 17, 2022
1 parent 82bf38a commit 6d38cc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/structures/typedefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ namespace vroom {
// To easily differentiate variable types.
using Id = uint64_t;
using Index = uint16_t;
using Cost = uint32_t;
using Cost = uint64_t;
using SignedCost = int64_t;
using Distance = uint32_t;
using Duration = uint32_t;
using Duration = uint64_t;
using SignedDuration = int64_t;
using Coordinate = double;
using Capacity = int64_t;
Expand Down

0 comments on commit 6d38cc6

Please sign in to comment.