Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] errors in Delaunay code when using optimized CGAL lib on mac

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] errors in Delaunay code when using optimized CGAL lib on mac


Chronological Thread 
  • From: Andrei Zaharescu <>
  • To:
  • Subject: Re: [cgal-discuss] errors in Delaunay code when using optimized CGAL lib on mac
  • Date: Wed, 17 Oct 2007 14:18:40 +0200

Hello,

I am using CGAL 3.3.1.. and I am using a standard.. non-modified
example (regular.cpp).. from the standard distro of CGAL.


regards,
Andrei.

p.s. the gcc is 4.0.1.

On 17-Oct-07, at 1:59 PM, Andreas Fabri wrote:

Hi Andrei,

Please give us more context information.

What Release of CGAL
What kernel
Did you modify the example.
What input data did you use.

andreas

Andrei Zaharescu wrote:
Hi everybody,
I am encountering an error when using the CGAL library compiled with optimization flags on mac intel (with -O1 or -O2 or -O3).
Basically, if I try the provided examples from:
/examples/Triangulation_2/regular
I get some precondition violations. This does not happen when no optimization flags are being used.
Thanks in advance to everyone. The error occurs when invoking the    rt.is_valid() command.
CGAL error: precondition violation!
Expr: it1.e_ == it2.e_
File: ../../include/CGAL/iterator.h
Line: 563
Explanation:
terminate called after throwing an instance of 'CGAL::Precondition_exception'
  what():  CGAL ERROR: precondition violation!
Expr: it1.e_ == it2.e_
File: ../../include/CGAL/iterator.h
Line: 563
Abort trap
Regards,
Andrei.
-- 
Andrei Zaharescu
Phd Candidate
INRIA Rhone-Alpes ZIRST - 655, ave de l'Europe Montbonnot, 38330 - Saint Imsier Cedex
FRANCE
work:   +33 (0)4 76 61 55 81
fax:    +33 (0)4 76 61 54 54
mobile: +33 (0)6 74 20 88 16
-- 
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to


-- 
Andrei Zaharescu
Phd Candidate
INRIA Rhone-Alpes 
ZIRST - 655, ave de l'Europe 
Montbonnot, 38330 - Saint Imsier Cedex
FRANCE
work:   +33 (0)4 76 61 55 81
fax:    +33 (0)4 76 61 54 54
mobile: +33 (0)6 74 20 88 16






Archive powered by MHonArc 2.6.16.

Top of Page