From ef7619d66411a7deb0a27df177372218cea91e05 Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Tue, 22 Apr 2014 17:44:16 +0200 Subject: [PATCH] fix signed/unsigned comparison --- Contractor/GeometryCompressor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Contractor/GeometryCompressor.cpp b/Contractor/GeometryCompressor.cpp index 53cca3fdf..e0d5752d0 100644 --- a/Contractor/GeometryCompressor.cpp +++ b/Contractor/GeometryCompressor.cpp @@ -123,8 +123,8 @@ void GeometryCompressor::CompressEdge(const EdgeID edge_id_1, BOOST_ASSERT(SPECIAL_EDGEID != edge_id_2); BOOST_ASSERT(SPECIAL_NODEID != via_node_id); BOOST_ASSERT(SPECIAL_NODEID != target_node_id); - BOOST_ASSERT(std::numeric_limits::max() != weight1); - BOOST_ASSERT(std::numeric_limits::max() != weight2); + BOOST_ASSERT(std::numeric_limits::max() != weight1); + BOOST_ASSERT(std::numeric_limits::max() != weight2); // append list of removed edge_id plus via node to surviving edge id: //