Removing false continue statement that broke debug build.
This commit is contained in:
parent
5c3dad0c61
commit
e839cb4b8c
@ -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 );
|
||||||
|
Loading…
Reference in New Issue
Block a user