Subject: CGAL users discussion list
List archive
- 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
- [cgal-discuss] valgring (alpha shapes) and cgal, Lukasz Kaczmarczyk, 10/05/2010
- <Possible follow-up(s)>
- Re: [cgal-discuss] valgring (alpha shapes) and cgal, Sylvain Pion, 10/05/2010
- Re: [cgal-discuss] valgring (alpha shapes) and cgal, Lukasz Kaczmarczyk, 10/05/2010
- Re: [cgal-discuss] valgring (alpha shapes) and cgal, Alexander Kobel, 10/05/2010
- Re: [cgal-discuss] valgring (alpha shapes) and cgal, Lukasz Kaczmarczyk, 10/05/2010
- Re: [cgal-discuss] valgring (alpha shapes) and cgal, Alexander Kobel, 10/05/2010
- Re: [cgal-discuss] valgring (alpha shapes) and cgal, Lukasz Kaczmarczyk, 10/05/2010
Archive powered by MHonArc 2.6.16.