Merge pull request #6800 from sloriot/SMS-test_relax_order

SMS test relaxed order
This commit is contained in:
Laurent Rineau 2022-08-29 11:35:49 +02:00
commit 59566d3fd8
2 changed files with 2 additions and 1 deletions

View File

@ -194,7 +194,7 @@ public:
void remove(const value_type& x)
{
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->kind = smallest_key;
promote(a);

View File

@ -43,6 +43,7 @@ int main(int argc, char** argv)
,stop
,CGAL::parameters::vertex_index_map(get(CGAL::vertex_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"