Drop useless template parameter

This commit is contained in:
Marc Glisse 2020-05-22 12:28:46 +02:00
parent 257a92d60c
commit 7a35fbe6fb
1 changed files with 4 additions and 4 deletions

View File

@ -129,13 +129,13 @@ class Quotient
Quotient<NT>& operator*= (const CGAL_double(NT)& r);
Quotient<NT>& operator/= (const CGAL_double(NT)& r);
friend bool operator==(const Quotient<NT>& x, const Quotient<NT>& y)
friend bool operator==(const Quotient& x, const Quotient& y)
{ return x.num * y.den == x.den * y.num; }
friend bool operator==(const Quotient<NT>& x, const NT& y)
friend bool operator==(const Quotient& x, const NT& y)
{ return x.den * y == x.num; }
friend inline bool operator==(const Quotient<NT>& x, const CGAL_int(NT) & y)
friend inline bool operator==(const Quotient& x, const CGAL_int(NT) & y)
{ return x.den * y == x.num; }
friend inline bool operator==(const Quotient<NT>& x, const CGAL_double(NT) & y)
friend inline bool operator==(const Quotient& x, const CGAL_double(NT) & y)
{ return x.den * y == x.num; } // Uh?
Quotient<NT>& normalize();