Skip to Content.
Sympa Menu

cgal-discuss - errors in Delaunay code when using optimized CGAL lib on mac

Subject: CGAL users discussion list

List archive

errors in Delaunay code when using optimized CGAL lib on mac


Chronological Thread 
  • From: Andrei Zaharescu <>
  • To:
  • Subject: errors in Delaunay code when using optimized CGAL lib on mac
  • Date: Wed, 17 Oct 2007 13:35:17 +0200

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






Archive powered by MHonArc 2.6.16.

Top of Page