diff --git a/src/test/java/org/apache/commons/math/analysis/solvers/UnivariateRealSolverUtilsTest.java b/src/test/java/org/apache/commons/math/analysis/solvers/UnivariateRealSolverUtilsTest.java index c02c3bef3..709e38d82 100644 --- a/src/test/java/org/apache/commons/math/analysis/solvers/UnivariateRealSolverUtilsTest.java +++ b/src/test/java/org/apache/commons/math/analysis/solvers/UnivariateRealSolverUtilsTest.java @@ -42,7 +42,7 @@ public class UnivariateRealSolverUtilsTest extends TestCase { public void testSolveBadEndpoints() throws MathException { try { // bad endpoints - UnivariateRealSolverUtils.solve(sin,0.0, 4.0, 4.0); + UnivariateRealSolverUtils.solve(sin, -0.1, 4.0, 4.0); fail("Expecting IllegalArgumentException"); } catch (IllegalArgumentException ex) { // expected