Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL::symmetric_difference error

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL::symmetric_difference error


Chronological Thread 
  • From: Bernd Gaertner <>
  • To: <>
  • Subject: Re: [cgal-discuss] CGAL::symmetric_difference error
  • Date: Thu, 3 Sep 2009 16:33:53 +0200

Genís wrote:
CGAL error:
precondition violation!
Expr: comp_f(object, nodeP->object) != LARGER
File: /usr/include/CGAL/Multiset.h
Line: 214

The cause is most likely this line:

typedef CGAL::Cartesian<double> Kernel;

This is an inexact kernel that comes with no guarantee and whose usage may lead to the indicated failures. CGAL has other kernels that do come with guarantees, please see the FAQ item at http://www.cgal.org/FAQ.html#inexact_NT, and the philosophy page at http://www.cgal.org/philosophy.html.

Best,
Bernd.



Archive powered by MHonArc 2.6.16.

Top of Page