mirror of https://github.com/CGAL/cgal
Minor optimization
This commit is contained in:
parent
e0edfe068f
commit
4fdd27b569
|
|
@ -94,15 +94,16 @@ struct Tester
|
|||
int n = 0;
|
||||
while ( c3t3.triangulation().number_of_vertices() != v && ++n < 11 )
|
||||
{
|
||||
v = c3t3.triangulation().number_of_vertices();
|
||||
|
||||
refine_mesh_3(c3t3,domain,criteria,
|
||||
CGAL::parameters::no_exude(),
|
||||
CGAL::parameters::no_perturb(),
|
||||
CGAL::parameters::no_reset_c3t3());
|
||||
|
||||
v = c3t3.triangulation().number_of_vertices();
|
||||
f = c3t3.number_of_facets_in_complex();
|
||||
c = c3t3.number_of_cells_in_complex();
|
||||
}
|
||||
|
||||
f = c3t3.number_of_facets_in_complex();
|
||||
c = c3t3.number_of_cells_in_complex();
|
||||
assert ( n < 11 );
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue