Skip to content

Commit

Permalink
Fixes issue Project-OSRM#195
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisOSRM committed Mar 19, 2012
1 parent af0def3 commit 30d7254
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions DataStructures/SearchEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -188,19 +188,6 @@ class SearchEngine {
searchFrom2ndStartNode = true;
// INFO("Next Search will start from 2nd");
}
//Add distance of segments to current sums
if(INT_MAX == distance1 || INT_MAX == _localUpperbound1) {
// INFO("setting distance1 = 0");
distance1 = 0;
}
// distance1 += _localUpperbound1;
if(INT_MAX == distance2 || INT_MAX == _localUpperbound2) {
// INFO("Setting distance2 = 0");
distance2 = 0;
}
// distance2 += _localUpperbound2;

// INFO("distance1: " << distance1 << ", distance2: " << distance2);

//Was at most one of the two paths not found?
assert(!(INT_MAX == distance1 && INT_MAX == distance2));
Expand Down

0 comments on commit 30d7254

Please sign in to comment.