From 7313b980fa50c52fa12d2be59017e3d089b00caa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Tue, 17 Dec 2024 14:04:56 +0100 Subject: [PATCH] Minor text fix --- .../test/Polygon_mesh_processing/measures_test.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Polygon_mesh_processing/test/Polygon_mesh_processing/measures_test.cpp b/Polygon_mesh_processing/test/Polygon_mesh_processing/measures_test.cpp index e47d7a71ad5..c74766be69a 100644 --- a/Polygon_mesh_processing/test/Polygon_mesh_processing/measures_test.cpp +++ b/Polygon_mesh_processing/test/Polygon_mesh_processing/measures_test.cpp @@ -105,15 +105,15 @@ void test_pmesh(const Mesh& pmesh) edge_descriptor longest_edge = PMP::longest_edge(pmesh); assert(longest_edge != typename boost::graph_traits::edge_descriptor()); - FT le_length = PMP::squared_edge_length(longest_edge, pmesh); - std::cout << "longest edge is:" << get(CGAL::vertex_point, pmesh, source(longest_edge, pmesh)) + FT le_sq_length = PMP::squared_edge_length(longest_edge, pmesh); + std::cout << "longest edge is: " << get(CGAL::vertex_point, pmesh, source(longest_edge, pmesh)) << " -> " << get(CGAL::vertex_point, pmesh, target(longest_edge, pmesh)) << ", length = " << PMP::edge_length(longest_edge, pmesh) << std::endl; for(edge_descriptor e : edges(pmesh)) { // this could be wrong due to numerical errors, but the tested meshes are gentle enough // such that we don't need a predicate... right? - assert(le_length >= PMP::squared_edge_length(e, pmesh)); + assert(le_sq_length >= PMP::squared_edge_length(e, pmesh)); } std::pair res = PMP::longest_border(pmesh);