avoid unused var warning

This commit is contained in:
Sébastien Loriot 2010-12-08 07:21:28 +00:00
parent 75912b6e59
commit 2cf6ef07f1
1 changed files with 1 additions and 3 deletions

View File

@ -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());
}
}