mirror of https://github.com/CGAL/cgal
Silence unused parameter warnings when building.
This commit is contained in:
parent
026474363b
commit
811daa2ad4
|
|
@ -60,8 +60,8 @@ public:
|
||||||
static Scalar scalar_factor(const NT& a, Field_tag) {
|
static Scalar scalar_factor(const NT& a, Field_tag) {
|
||||||
return (a == NT(0)) ? NT(0) : NT(1);
|
return (a == NT(0)) ? NT(0) : NT(1);
|
||||||
}
|
}
|
||||||
static Scalar scalar_factor(const NT& a,
|
static Scalar scalar_factor(const NT& /* a */,
|
||||||
const Scalar& d,
|
const Scalar& /* d */,
|
||||||
Integral_domain_tag) {
|
Integral_domain_tag) {
|
||||||
return Scalar(1);
|
return Scalar(1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -125,7 +125,7 @@ public:
|
||||||
// various support methods in BigFloat.h (exact_div, gcd, etc).
|
// various support methods in BigFloat.h (exact_div, gcd, etc).
|
||||||
// Constructor from a BigFloat polynomial
|
// Constructor from a BigFloat polynomial
|
||||||
// Need the fake argument to avoid compiler overloading errors
|
// Need the fake argument to avoid compiler overloading errors
|
||||||
Sturm(Polynomial<BigFloat> pp, bool fake) : NEWTON_DIV_BY_ZERO(false) {
|
Sturm(Polynomial<BigFloat> pp, bool /* fake */) : NEWTON_DIV_BY_ZERO(false) {
|
||||||
len = pp.getTrueDegree();
|
len = pp.getTrueDegree();
|
||||||
if (len <= 0) return; // hence, seq is not defined in these cases
|
if (len <= 0) return; // hence, seq is not defined in these cases
|
||||||
seq = new Polynomial<NT> [len+1];
|
seq = new Polynomial<NT> [len+1];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue