From 8a1f4acfc154ccc0eeb22f15a76353211b588272 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Wed, 3 Sep 2003 12:25:02 +0000 Subject: [PATCH] Unenabled specialisation of sign for VC7 --- Packages/Nef_2/include/CGAL/Nef_2/Polynomial.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Packages/Nef_2/include/CGAL/Nef_2/Polynomial.h b/Packages/Nef_2/include/CGAL/Nef_2/Polynomial.h index 612b33f6b03..48ffeb72616 100644 --- a/Packages/Nef_2/include/CGAL/Nef_2/Polynomial.h +++ b/Packages/Nef_2/include/CGAL/Nef_2/Polynomial.h @@ -119,8 +119,10 @@ template inline Polynomial template inline Polynomial operator % (const Polynomial&, const Polynomial&); +#ifndef CGAL_CFG_MATCHING_BUG_2 template CGAL::Sign sign(const Polynomial& p); +#endif template double to_double(const Polynomial& p) ; @@ -1374,10 +1376,11 @@ template bool operator >= (const Polynomial& p1, const Polynomial& p2) { return ( (p1-p2).sign() != CGAL::NEGATIVE ); } - +#ifndef CGAL_CFG_MATCHING_BUG_2 template CGAL::Sign sign(const Polynomial& p) { return p.sign(); } +#endif //------------------------------------------------------------------ // SPECIALIZE_FUNCTION(NT,int double) START