Fix some warnings in test code.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1499081 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7772d89846
commit
d0cce453d7
|
@ -179,7 +179,7 @@ public class HarmonicFitterTest {
|
|||
// and period 12, and all sample points are taken at integer abscissae
|
||||
// so function values all belong to the integer subset {-3, -2, -1, 0,
|
||||
// 1, 2, 3}.
|
||||
final HarmonicFitter.ParameterGuesser guesser
|
||||
= new HarmonicFitter.ParameterGuesser(points);
|
||||
@SuppressWarnings("unused")
|
||||
final HarmonicFitter.ParameterGuesser guesser = new HarmonicFitter.ParameterGuesser(points);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -135,6 +135,7 @@ public class PolynomialFitterTest {
|
|||
final double[] init = new double[] { 0, 0 };
|
||||
final int maxEval = 10000; // Trying hard to fit.
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
final double[] gn = doMath798(new GaussNewtonOptimizer(checker), maxEval, init);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue