Skip to content

Commit

Permalink
Addressed itinero#306
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusfriedman committed Apr 2, 2020
1 parent d8eb734 commit 34e1347
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ protected override void DoRun(CancellationToken cancellationToken)
while (edgeEnumerator.MoveNext())
{
var data = edgeEnumerator.Data;
if (data.Distance < _maxDistance)
//https://github.com/itinero/routing/issues/306
if (data.Distance <= _maxDistance)
{ // edge is within bounds.
continue;
}
Expand Down

0 comments on commit 34e1347

Please sign in to comment.