Skip to content

Commit

Permalink
Bugfix: max speed assignment in importOSMEdges
Browse files Browse the repository at this point in the history
  • Loading branch information
Grufoony committed Feb 5, 2025
1 parent b83d330 commit 0303b4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dsm/dsm.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

static constexpr uint8_t DSM_VERSION_MAJOR = 2;
static constexpr uint8_t DSM_VERSION_MINOR = 3;
static constexpr uint8_t DSM_VERSION_PATCH = 19;
static constexpr uint8_t DSM_VERSION_PATCH = 20;

static auto const DSM_VERSION =
std::format("{}.{}.{}", DSM_VERSION_MAJOR, DSM_VERSION_MINOR, DSM_VERSION_PATCH);
Expand Down
2 changes: 1 addition & 1 deletion src/dsm/sources/Graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ namespace dsm {
addEdge<Street>(streetId,
std::make_pair(srcId, dstId),
std::stod(length),
std::stod(maxspeed),
std::stod(maxspeed) / 3.6,
std::stoul(lanes),
name);
}
Expand Down

0 comments on commit 0303b4c

Please sign in to comment.