Removing false continue statement that broke debug build.

This commit is contained in:
DennisOSRM 2012-12-17 16:47:05 +01:00
parent 5c3dad0c61
commit e839cb4b8c

View File

@ -122,8 +122,7 @@ public:
assert( newEdge.data.distance > 0 ); assert( newEdge.data.distance > 0 );
#ifndef NDEBUG #ifndef NDEBUG
if ( newEdge.data.distance > 24 * 60 * 60 * 10 ) { if ( newEdge.data.distance > 24 * 60 * 60 * 10 ) {
std::cout << "Edge Weight too large -> May lead to invalid CH" << std::endl; WARN("Edge weight large -> " << newEdge.data.distance);
continue;
} }
#endif #endif
edges.push_back( newEdge ); edges.push_back( newEdge );