Start and target can be on same edge

This commit is contained in:
DennisOSRM
2011-11-24 17:33:23 +01:00
parent b5d2e56faf
commit 4e75bd1de6
7 changed files with 37 additions and 20 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ public:
std::vector< _PathData > path;
distance = searchEngine->ComputeRoute(segmentPhantomNodes, path);
if(UINT_MAX == distance ) {
if(INT_MAX == distance ) {
INFO( "Error occurred, single path not found" );
}