Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Turn off CGAL assertions


Chronological Thread 
  • From: Marc Glisse <>
  • To:
  • Subject: Re: [cgal-discuss] Turn off CGAL assertions
  • Date: Fri, 10 Nov 2017 06:04:18 +0100 (CET)

On Thu, 9 Nov 2017, Adam Getchell wrote:

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?

Just use NDEBUG instead? CGAL_NO_ASSERTIONS or CGAL_TRIANGULATION_NO_ASSERTIONS should work as well.

--
Marc Glisse



Archive powered by MHonArc 2.6.18.

Top of Page