← Back to team overview

dolfin team mailing list archive

Re: CGAL error

 

On Wed, Feb 10, 2010 at 09:31:06AM +0000, Garth N. Wells wrote:
> I get occasionally get a CGAL error when running DOLFIN:
>
> 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: /home/garth/local/include/CGAL/Interval_nt.h
> Line: 158
> Explanation: Wrong rounding: did you forget the -frounding-math option
> if you use GCC?
> ==10917==
>
> It typically arises when trying to run inside a debugger, etc. Has
> anyone else seen this? I do compile with '-frounding-math'.
>
> Garth

Yes, I've seen this too when trying to debug some code. It's quite
annoying. It's somewhat similar to PETSc in that CGAL seems to go in
and catch errors and prevent debugging. I don't know what to do about
it.

--
Anders

Attachment: signature.asc
Description: Digital signature


Follow ups

References