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