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: Lukasz Kaczmarczyk <>
  • To:
  • Subject: Re: [cgal-discuss] valgring (alpha shapes) and cgal
  • Date: Tue, 5 Oct 2010 18:53:02 +0100

Ok, this is working. I check that already. However for some mysterious
reason, I had to recompile CGAL with this flag to make it working.

Thanks for great CGAL,
Lukasz Kaczmarczyk
web: http://people.civil.gla.ac.uk/~kaczmarczyk

On 5 Oct 2010, at 18:28, Alexander Kobel wrote:

> 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
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://lists-sop.inria.fr/wws/info/cgal-discuss
>




Archive powered by MHonArc 2.6.16.

Top of Page