Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
felixguendling committed Jul 7, 2024
1 parent 7170d8b commit 230cf54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pkg
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
[geo]
[email protected]:motis-project/geo.git
branch=master
commit=ee76668f0f0454e4acd3c769e00c6868620e3490
commit=10fde5b467825c059881c93aeea00412338a9b06
[cista]
[email protected]:felixguendling/cista.git
branch=master
Expand Down
3 changes: 3 additions & 0 deletions include/osr/platforms.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ struct platforms {
}

level_t get_level(ways const& w, platform_idx_t const i) const {
if (i == platform_idx_t::invalid()) {
return to_level(0.0);
}
return std::visit(
utl::overloaded{
[&](way_idx_t x) { return w.r_->way_properties_[x].from_level(); },
Expand Down

0 comments on commit 230cf54

Please sign in to comment.