Fixed a bug in the computation of routes. Fixes issue #334 and other.
Thanks apmon
This commit is contained in:
parent
2cf175cf91
commit
d5cb1fa15f
@ -298,7 +298,8 @@ private:
|
||||
}
|
||||
}
|
||||
|
||||
if((distance-edgeBasedOffset)*(1+VIAPATH_EPSILON) > *_upperbound){
|
||||
int scaledDistance = (distance+edgeBasedOffset)/(1.+VIAPATH_EPSILON);
|
||||
if(scaledDistance > *_upperbound){
|
||||
_forwardHeap->DeleteAll();
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user