mirror of https://github.com/CGAL/cgal
Merge pull request #6800 from sloriot/SMS-test_relax_order
SMS test relaxed order
This commit is contained in:
commit
59566d3fd8
|
|
@ -194,7 +194,7 @@ public:
|
||||||
void remove(const value_type& x)
|
void remove(const value_type& x)
|
||||||
{
|
{
|
||||||
group* a = &index_to_group[get(id, x) / log_n];
|
group* a = &index_to_group[get(id, x) / log_n];
|
||||||
CGAL_assertion(groups[get(id, x)]);
|
CGAL_assertion(static_cast< bool >(groups[get(id, x)]));
|
||||||
a->value = x;
|
a->value = x;
|
||||||
a->kind = smallest_key;
|
a->kind = smallest_key;
|
||||||
promote(a);
|
promote(a);
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,7 @@ int main(int argc, char** argv)
|
||||||
,stop
|
,stop
|
||||||
,CGAL::parameters::vertex_index_map(get(CGAL::vertex_external_index,surface))
|
,CGAL::parameters::vertex_index_map(get(CGAL::vertex_external_index,surface))
|
||||||
.halfedge_index_map (get(CGAL::halfedge_external_index ,surface))
|
.halfedge_index_map (get(CGAL::halfedge_external_index ,surface))
|
||||||
|
.use_relaxed_order(CGAL::Tag_true())
|
||||||
);
|
);
|
||||||
|
|
||||||
std::cout << "\nFinished...\n" << r << " edges removed.\n"
|
std::cout << "\nFinished...\n" << r << " edges removed.\n"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue