Skip to content

Commit

Permalink
update util
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickbr committed Oct 6, 2023
1 parent a8c23b2 commit 580f180
Show file tree
Hide file tree
Showing 29 changed files with 2,762 additions and 81 deletions.
3 changes: 2 additions & 1 deletion src/pfaedle/router/Router.tpp
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,8 @@ void RouterImpl<TW>::hops(const EdgeCandGroup& froms, const EdgeCandGroup& tos,

if (c < maxCost) {
rCosts->push_back({{frId, toId}, c});
if (TW::NEED_DIST) dists->push_back({{frId, toId}, dist});
if (TW::NEED_DIST)
dists->push_back({{frId, toId}, static_cast<uint32_t>(dist)});
}
}
}
Expand Down
Loading

0 comments on commit 580f180

Please sign in to comment.