From 57e2c27b734f71ee8bcd53a650b4f34d37c99b75 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Fri, 15 May 2015 11:22:33 +0200 Subject: [PATCH] use generic is_valid test --- .../CGAL/boost/graph/graph_traits_PolyMesh_ArrayKernelT.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BGL/include/CGAL/boost/graph/graph_traits_PolyMesh_ArrayKernelT.h b/BGL/include/CGAL/boost/graph/graph_traits_PolyMesh_ArrayKernelT.h index 448fd4b44b4..f0eab6f4d58 100644 --- a/BGL/include/CGAL/boost/graph/graph_traits_PolyMesh_ArrayKernelT.h +++ b/BGL/include/CGAL/boost/graph/graph_traits_PolyMesh_ArrayKernelT.h @@ -640,7 +640,7 @@ add_face(InputIterator begin, InputIterator end, OpenMesh::PolyMesh_ArrayKernelT template bool is_valid(OpenMesh::PolyMesh_ArrayKernelT& sm, bool verbose = false) { - return true; + return CGAL::is_valid_polygon_mesh(sm); } } // namespace OpenMesh