Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Findbugs points out that SmoothingBicubicSplineInterpolatorTest.testPreconditions() assigns wzval but does not use it - is this a test bug?
double[][] wzval = new double[xval.length][yval.length + 1]; try { p = interpolator.interpolate(xval, wyval, zval); // <== should the last param be wzval ?? Assert.fail("an exception should have been thrown"); } catch (IllegalArgumentException e) { // Expected } wzval = new double[xval.length - 1][yval.length];