Unnecessary code removed.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1411809 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8da1dede24
commit
4577812519
|
@ -138,12 +138,7 @@ public class PolynomialFitterTest {
|
|||
final double[] init = new double[] { 0, 0 };
|
||||
final int maxEval = 10000; // Trying hard to fit.
|
||||
|
||||
final double[] lm = doMath798(new LevenbergMarquardtOptimizer(checker), maxEval, init);
|
||||
final double[] gn = doMath798(new GaussNewtonOptimizer(checker), maxEval, init);
|
||||
|
||||
for (int i = 0; i <= 1; i++) {
|
||||
Assert.assertEquals(lm[i], gn[i], tol);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue