From bce4b4e80a93a50de9d00caeb409464fb657128f Mon Sep 17 00:00:00 2001 From: Jane Tournois Date: Fri, 26 Jun 2020 14:57:02 +0200 Subject: [PATCH] Revert "add an assertion in make_canonical" This reverts commit f55ffabbe082e11a979271ed28e2ffe2a4845de4. In the exuder, it can happen that this function takes the triple (Vertex_handle(), Vertex_handle(), Vertex_handle()) so the assertion does not hold --- Triangulation_3/include/CGAL/Triangulation_3.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Triangulation_3/include/CGAL/Triangulation_3.h b/Triangulation_3/include/CGAL/Triangulation_3.h index a60b57f9676..20f76735e6b 100644 --- a/Triangulation_3/include/CGAL/Triangulation_3.h +++ b/Triangulation_3/include/CGAL/Triangulation_3.h @@ -4229,21 +4229,19 @@ make_canonical_oriented_triple(Vertex_triple& t) const Vertex_handle tmp; switch(i) { - case 0: break; + case 0: return; case 1: tmp = t.first; t.first = t.second; t.second = t.third; t.third = tmp; - break; + return; default: tmp = t.first; t.first = t.third; t.third = t.second; t.second = tmp; } - - CGAL_assertion(t.first < t.second && t.first < t.third); } template < class GT, class Tds, class Lds >