From d80d2eebc85cc5376c97e711b1b6e97522f6f7e4 Mon Sep 17 00:00:00 2001 From: Maxime Gimeno Date: Thu, 19 Nov 2020 16:57:34 +0100 Subject: [PATCH] put expensive tests in weight calculation in expensive_assertions --- .../include/CGAL/Polygon_mesh_processing/Weights.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/Weights.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/Weights.h index f14051c0b8c..22c308757e1 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/Weights.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/Weights.h @@ -307,8 +307,8 @@ public: { if( is_border(he,pmesh()) ) { continue; } - CGAL_assertion(CGAL::is_valid_polygon_mesh(pmesh())); - CGAL_assertion(CGAL::is_triangle_mesh(pmesh())); + CGAL_expensive_assertion(CGAL::is_valid_polygon_mesh(pmesh())); + CGAL_expensive_assertion(CGAL::is_triangle_mesh(pmesh())); CGAL_assertion( v0 == target(he, pmesh()) ); vertex_descriptor v1 = source(he, pmesh()); vertex_descriptor v_op = target(next(he, pmesh()), pmesh());