From c47e4572cb46d0fa50341b50db96eb27f1185a06 Mon Sep 17 00:00:00 2001 From: Sylvain Pion Date: Thu, 12 Nov 1998 16:11:33 +0000 Subject: [PATCH] Added conditionnal inclusion of . --- Packages/Interval_arithmetic/include/CGAL/Filter.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Packages/Interval_arithmetic/include/CGAL/Filter.h b/Packages/Interval_arithmetic/include/CGAL/Filter.h index a70112a8590..f43b2f0d03c 100644 --- a/Packages/Interval_arithmetic/include/CGAL/Filter.h +++ b/Packages/Interval_arithmetic/include/CGAL/Filter.h @@ -88,9 +88,17 @@ inline double CGAL_to_double (const CGAL_Filtering& fil) // All exact types should reasonnably have a built-in exact conversion // from doubles ? If not, it will fail, and you have to provide it. +// +// It's bad to provide such a default, because it can be a inexact cast: +// ex: CGAL_Gmpz accepts it, but it's false !!! template inline ET CGAL_to_exact_type (const double & d) { return ET(d); } + +#ifdef CGAL_PREDICATES_ON_FTC2_H +#include +#endif + #endif // CGAL_FILTER_H