JIRA: MATH-360 Fix use of wrong variable in SmoothingBicubicSplineInterpolatorTest.testPreconditions()

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@927505 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2010-03-25 17:12:01 +00:00
parent 43d9752f37
commit 4db8545921
2 changed files with 4 additions and 1 deletions

View File

@ -67,6 +67,9 @@ This is primarily a maintenance release, but it also includes new features and e
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>

View File

@ -60,7 +60,7 @@ public final class SmoothingBicubicSplineInterpolatorTest {
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