commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r927505 - in /commons/proper/math/trunk/src: site/xdoc/changes.xml test/java/org/apache/commons/math/analysis/interpolation/SmoothingBicubicSplineInterpolatorTest.java
Date Thu, 25 Mar 2010 17:12:02 GMT
Author: sebb
Date: Thu Mar 25 17:12:01 2010
New Revision: 927505

URL: http://svn.apache.org/viewvc?rev=927505&view=rev
Log:
JIRA: MATH-360 Fix use of wrong variable in SmoothingBicubicSplineInterpolatorTest.testPreconditions()

Modified:
    commons/proper/math/trunk/src/site/xdoc/changes.xml
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/interpolation/SmoothingBicubicSplineInterpolatorTest.java

Modified: commons/proper/math/trunk/src/site/xdoc/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/site/xdoc/changes.xml?rev=927505&r1=927504&r2=927505&view=diff
==============================================================================
--- commons/proper/math/trunk/src/site/xdoc/changes.xml (original)
+++ commons/proper/math/trunk/src/site/xdoc/changes.xml Thu Mar 25 17:12:01 2010
@@ -67,6 +67,9 @@ This is primarily a maintenance release,
   DummyStepInterpolator requires an additional argument for one of its constructors;
   some protected fields have been removed from AbstractLeastSquaresOptimizer, AbstractScalarDifferentiableOptimizer
and AbstractLinearOptimizer;
   and the isOptimal(SimplexTableau) method has been removed from SimplexSolver. ">
+      <action dev="sebb" type="fix" issue="MATH-360">
+        Fix use of wrong variable in SmoothingBicubicSplineInterpolatorTest.testPreconditions()
+      </action>
       <action dev="erans" type="update" issue="MATH-356">
         Added method to clear the list of observations in CurveFitter.
       </action>

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/interpolation/SmoothingBicubicSplineInterpolatorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/interpolation/SmoothingBicubicSplineInterpolatorTest.java?rev=927505&r1=927504&r2=927505&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/interpolation/SmoothingBicubicSplineInterpolatorTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/analysis/interpolation/SmoothingBicubicSplineInterpolatorTest.java
Thu Mar 25 17:12:01 2010
@@ -60,7 +60,7 @@ public final class SmoothingBicubicSplin
 
         double[][] wzval = new double[xval.length][yval.length + 1];
         try {
-            p = interpolator.interpolate(xval, wyval, zval);
+            p = interpolator.interpolate(xval, wyval, wzval);
             Assert.fail("an exception should have been thrown");
         } catch (IllegalArgumentException e) {
             // Expected



Mime
View raw message