mirror of https://github.com/CGAL/cgal
put expensive tests in weight calculation in expensive_assertions
This commit is contained in:
parent
3c15e412c4
commit
d80d2eebc8
|
|
@ -307,8 +307,8 @@ public:
|
||||||
{
|
{
|
||||||
if( is_border(he,pmesh()) ) { continue; }
|
if( is_border(he,pmesh()) ) { continue; }
|
||||||
|
|
||||||
CGAL_assertion(CGAL::is_valid_polygon_mesh(pmesh()));
|
CGAL_expensive_assertion(CGAL::is_valid_polygon_mesh(pmesh()));
|
||||||
CGAL_assertion(CGAL::is_triangle_mesh(pmesh()));
|
CGAL_expensive_assertion(CGAL::is_triangle_mesh(pmesh()));
|
||||||
CGAL_assertion( v0 == target(he, pmesh()) );
|
CGAL_assertion( v0 == target(he, pmesh()) );
|
||||||
vertex_descriptor v1 = source(he, pmesh());
|
vertex_descriptor v1 = source(he, pmesh());
|
||||||
vertex_descriptor v_op = target(next(he, pmesh()), pmesh());
|
vertex_descriptor v_op = target(next(he, pmesh()), pmesh());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue