Silence unused parameter warnings when building.

This commit is contained in:
Philipp Möller 2012-06-22 10:05:26 +00:00
parent 026474363b
commit 811daa2ad4
2 changed files with 3 additions and 3 deletions

View File

@ -60,8 +60,8 @@ public:
static Scalar scalar_factor(const NT& a, Field_tag) {
return (a == NT(0)) ? NT(0) : NT(1);
}
static Scalar scalar_factor(const NT& a,
const Scalar& d,
static Scalar scalar_factor(const NT& /* a */,
const Scalar& /* d */,
Integral_domain_tag) {
return Scalar(1);
}

View File

@ -125,7 +125,7 @@ public:
// various support methods in BigFloat.h (exact_div, gcd, etc).
// Constructor from a BigFloat polynomial
// 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();
if (len <= 0) return; // hence, seq is not defined in these cases
seq = new Polynomial<NT> [len+1];