From 4f8701d25b08797c875302e5a97e4d6b7a430def Mon Sep 17 00:00:00 2001 From: Sylvain Pion Date: Fri, 16 Oct 1998 14:30:50 +0000 Subject: [PATCH] 2 small comments added. --- .../Interval_arithmetic/include/CGAL/Interval_arithmetic.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Packages/Interval_arithmetic/include/CGAL/Interval_arithmetic.h b/Packages/Interval_arithmetic/include/CGAL/Interval_arithmetic.h index d060e986e5c..3d0a7c3d1f5 100644 --- a/Packages/Interval_arithmetic/include/CGAL/Interval_arithmetic.h +++ b/Packages/Interval_arithmetic/include/CGAL/Interval_arithmetic.h @@ -145,6 +145,8 @@ public: } else /* 0 \in [d.inf;d.sup] */ return CGAL_Interval_nt_advanced(-HUGE_VAL, HUGE_VAL); + // We could do slightly better -> [0;HUGE_VAL] when d.sup==0, + // but is this worth ? } CGAL_Interval_nt_advanced& operator+=(const CGAL_Interval_nt_advanced& d) @@ -265,6 +267,7 @@ public: // This particular one needs to be redefined, a pitty... // I should learn C++ before writing... + // Is that virtual functions ? CGAL_Interval_nt operator-() const { return CGAL_Interval_nt(-(sup), inf); }