Author: sebb
Date: Fri Oct 1 15:59:54 2010
New Revision: 1003569
URL: http://svn.apache.org/viewvc?rev=1003569&view=rev
Log:
Fix test failure
Modified:
commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/solvers/UnivariateRealSolverUtilsTest.java
Modified:
commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/solvers/UnivariateRealSolverUtilsTest.java
URL:
http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/solvers/UnivariateRealSolverUtilsTest.java?rev=1003569&r1=1003568&r2=1003569&view=diff
==============================================================================
---
commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/solvers/UnivariateRealSolverUtilsTest.java
(original)
+++
commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/solvers/UnivariateRealSolverUtilsTest.java
Fri Oct 1 15:59:54 2010
@@ -42,7 +42,7 @@ public class UnivariateRealSolverUtilsTe
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