Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Turn off CGAL assertions

Subject: CGAL users discussion list

List archive

[cgal-discuss] Turn off CGAL assertions


Chronological Thread 
  • From: Adam Getchell <>
  • To:
  • Subject: [cgal-discuss] Turn off CGAL assertions
  • Date: Thu, 9 Nov 2017 20:50:58 -0800
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:KP+Y4RU04AVpNTiZhgXyUk8oGy/V8LGtZVwlr6E/grcLSJyIuqrYZRKDt8tkgFKBZ4jH8fUM07OQ6P+wHzFYqb+681k8M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aSV3DMl9+Ke3xX4LTlM+qzPua+pvJYgwOiiDuT6l1KUCfoQzU/uYbnYBiJ6I1gk/ArnJNPetb2WhoKFaXtxn578a0upVk9nID6Loa68dcXPCiLOwDRrtCAWF+Pg==

Hello all,

I’m trying to turn off the following:

CGAL error: assertion violation!
Expression : false
File : /usr/local/include/CGAL/Delaunay_triangulation_3.h
Line : 1973

Which, I believe, relates to the triangulation not being Delaunay after the
flip.

I’ve read over https://doc.cgal.org/latest/Manual/devman_checks.html and
added the following to CMakeLists in order to turn off all the checks:

set(CGAL_NDEBUG "Turn off all checks")

That hasn’t worked. Do I have to compile CGAL with this flag?

It seems as if there’s a way to turn off the Delaunay package checks using
cgal_create_assertions.sh, but I’m not sure where the “proper directory” to
place the resulting file would be. Would that be /usr/local/include/CGAL?

--
Adam Getchell
https://keybase.io/adamgetchell




Archive powered by MHonArc 2.6.18.

Top of Page