mirror of https://github.com/CGAL/cgal
if the else -> ()?:
This commit is contained in:
parent
be18872e2d
commit
fa5bda2fbb
|
|
@ -143,6 +143,7 @@ public:
|
|||
template <class Forward_iterator>
|
||||
result_type operator()(Forward_iterator start, Forward_iterator end) const
|
||||
{
|
||||
CGAL_USE(end);
|
||||
CGAL_assertion(start!=end);
|
||||
int d = start->dimension();
|
||||
Matrix M(d);
|
||||
|
|
|
|||
|
|
@ -692,7 +692,7 @@ class Polynomial<int> :
|
|||
Polynomial<int> abs() const
|
||||
/*{\Xop returns |-\Mvar| if |\Mvar.sign()==NEGATIVE| and |\Mvar|
|
||||
otherwise.}*/
|
||||
{ if ( sign()==CGAL::NEGATIVE ) return -*this; return *this; }
|
||||
{ return ( sign()==CGAL::NEGATIVE ) ? - *this : *this; }
|
||||
|
||||
int content() const
|
||||
/*{\Xop returns the content of |\Mvar| (the gcd of its coefficients).
|
||||
|
|
@ -993,7 +993,7 @@ determines the sign for the limit process $x \rightarrow \infty$.
|
|||
Polynomial<double> abs() const
|
||||
/*{\Xop returns |-\Mvar| if |\Mvar.sign()==NEGATIVE| and |\Mvar|
|
||||
otherwise.}*/
|
||||
{ if ( sign()==CGAL::NEGATIVE ) return -*this; return *this; }
|
||||
{ return ( sign()==CGAL::NEGATIVE ) ? - *this : *this; }
|
||||
|
||||
|
||||
double content() const
|
||||
|
|
|
|||
Loading…
Reference in New Issue