mirror of https://github.com/CGAL/cgal
avoid unused var warning
This commit is contained in:
parent
75912b6e59
commit
2cf6ef07f1
|
|
@ -193,13 +193,11 @@ count_faces(const AS &A, bool verbose)
|
|||
+ count_interior_vertices == A.number_of_vertices());
|
||||
}
|
||||
|
||||
std::size_t ncc = A.number_of_solid_components();
|
||||
|
||||
if (count_cells >= 1 && A.get_mode()== Alpha_shape_3::REGULARIZED) {
|
||||
//this relation might not be valid for any alpha_shape
|
||||
// if connected components are touching
|
||||
// through an edge or a vertex
|
||||
assert(count_regular_facets == 2*count_regular_vertices - 4*ncc);
|
||||
assert(count_regular_facets == 2*count_regular_vertices - 4*A.number_of_solid_components());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue