From ddb5bf91e80922ba9c24e1328e3fc02c2d62bbfe Mon Sep 17 00:00:00 2001 From: Marc Glisse Date: Tue, 13 Sep 2016 14:38:47 +0200 Subject: [PATCH] Optimize NumTraits::Literal for intervals. --- Number_types/include/CGAL/Interval_nt.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Number_types/include/CGAL/Interval_nt.h b/Number_types/include/CGAL/Interval_nt.h index 6fa983d6c7a..eb80c7b0c6f 100644 --- a/Number_types/include/CGAL/Interval_nt.h +++ b/Number_types/include/CGAL/Interval_nt.h @@ -1270,6 +1270,7 @@ namespace Eigen { typedef CGAL::Interval_nt Real; typedef CGAL::Interval_nt NonInteger; typedef CGAL::Interval_nt Nested; + typedef double Literal; static inline Real epsilon() { return 0; } static inline Real dummy_precision() { return 0; }