You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DijkstraOneToMany cache broken after calcPath(from, to) where from == to #707
While working on the distance matrix, I stumbled over a little bug in
DijkstraOneToMany. If you invoke DijkstraOneToMany.calcPath(from, to) and from / to is the same node, all future calls to calcPath(from, to) will yield a zero path/distance.
This is obviously a rare case, since it does not really make sense to query for a path to itself, but for the sake of a clean framework I think such edge cases should be handled cleanly anyway.
Activity
karussell commentedon May 4, 2016
Fixed via #708