diff --git a/src/test/java/org/apache/commons/math3/analysis/integration/LegendreGaussIntegratorTest.java b/src/test/java/org/apache/commons/math3/analysis/integration/LegendreGaussIntegratorTest.java index af4a7144d..c7d48bbfa 100644 --- a/src/test/java/org/apache/commons/math3/analysis/integration/LegendreGaussIntegratorTest.java +++ b/src/test/java/org/apache/commons/math3/analysis/integration/LegendreGaussIntegratorTest.java @@ -28,6 +28,7 @@ import org.junit.Assert; import org.junit.Test; +@Deprecated public class LegendreGaussIntegratorTest { @Test diff --git a/src/test/java/org/apache/commons/math3/analysis/polynomials/PolynomialsUtilsTest.java b/src/test/java/org/apache/commons/math3/analysis/polynomials/PolynomialsUtilsTest.java index c89a2644d..a648ae153 100644 --- a/src/test/java/org/apache/commons/math3/analysis/polynomials/PolynomialsUtilsTest.java +++ b/src/test/java/org/apache/commons/math3/analysis/polynomials/PolynomialsUtilsTest.java @@ -17,7 +17,7 @@ package org.apache.commons.math3.analysis.polynomials; import org.apache.commons.math3.analysis.UnivariateFunction; -import org.apache.commons.math3.analysis.integration.LegendreGaussIntegrator; +import org.apache.commons.math3.analysis.integration.IterativeLegendreGaussIntegrator; import org.apache.commons.math3.util.ArithmeticUtils; import org.apache.commons.math3.util.FastMath; import org.apache.commons.math3.util.Precision; @@ -375,7 +375,7 @@ public class PolynomialsUtilsTest { } }; double dotProduct = - new LegendreGaussIntegrator(5, 1.0e-9, 1.0e-8, 2, 15).integrate(1000000, f, a, b); + new IterativeLegendreGaussIntegrator(5, 1.0e-9, 1.0e-8, 2, 15).integrate(1000000, f, a, b); if (p1.degree() == p2.degree()) { // integral should be non-zero Assert.assertTrue("I(" + p1.degree() + ", " + p2.degree() + ") = "+ dotProduct,