Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] valgring (alpha shapes) and cgal

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] valgring (alpha shapes) and cgal


Chronological Thread 
  • From: Alexander Kobel <>
  • To:
  • Subject: Re: [cgal-discuss] valgring (alpha shapes) and cgal
  • Date: Tue, 05 Oct 2010 19:28:41 +0200

On 2010-10-05 17:50, Lukasz Kaczmarczyk wrote:
Hello,
Thanks for help. I try to use Simple_cartesian, but it not helps. In addition
to use of Simple_cartesian, It looks that I should switch off assertion
exceptions. How I can do that?

I like to use valgrind with cglal, however I get this error: [...]
terminate called after throwing an instance of 'CGAL::Assertion_exception'
what(): CGAL ERROR: assertion violation!
Expr: -CGAL_IA_MUL(-1.1, 10.1) != CGAL_IA_MUL(1.1, 10.1)
File: /opt/local/include/CGAL/Interval_nt.h
Line: 158 [...]

#define CGAL_DISABLE_ROUNDING_MATH_CHECK

at the top of your program (before including any CGAL headers) should be enough. Also, make sure that you compile with -frounding-math.


HTH,
Alexander



Archive powered by MHonArc 2.6.16.

Top of Page