You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2010/03/25 16:23:27 UTC
[jira] Created: (MATH-360)
SmoothingBicubicSplineInterpolatorTest.testPreconditions() assigns wzval
but does not use it - test bug?
SmoothingBicubicSplineInterpolatorTest.testPreconditions() assigns wzval but does not use it - test bug?
---------------------------------------------------------------------------------------------------------
Key: MATH-360
URL: https://issues.apache.org/jira/browse/MATH-360
Project: Commons Math
Issue Type: Bug
Reporter: Sebb
Findbugs points out that SmoothingBicubicSplineInterpolatorTest.testPreconditions() assigns wzval but does not use it - is this a test bug?
{code}
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];
{code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Created: (MATH-360)
SmoothingBicubicSplineInterpolatorTest.testPreconditions() assigns wzval
but does not use it - test bug?
Posted by Gilles Sadowski <gi...@harfang.homelinux.org>.
> Findbugs points out that SmoothingBicubicSplineInterpolatorTest.testPreconditions() assigns wzval but does not use it - is this a test bug?
>
> {code}
> double[][] wzval = new double[xval.length][yval.length + 1];
> try {
> p = interpolator.interpolate(xval, wyval, zval); // <== should the last param be wzval ??
Yes.
Gilles
[jira] Resolved: (MATH-360)
SmoothingBicubicSplineInterpolatorTest.testPreconditions() assigns wzval
but does not use it - test bug?
Posted by "Sebb (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MATH-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebb resolved MATH-360.
-----------------------
Resolution: Fixed
Fix Version/s: 2.1
> SmoothingBicubicSplineInterpolatorTest.testPreconditions() assigns wzval but does not use it - test bug?
> ---------------------------------------------------------------------------------------------------------
>
> Key: MATH-360
> URL: https://issues.apache.org/jira/browse/MATH-360
> Project: Commons Math
> Issue Type: Bug
> Reporter: Sebb
> Fix For: 2.1
>
>
> Findbugs points out that SmoothingBicubicSplineInterpolatorTest.testPreconditions() assigns wzval but does not use it - is this a test bug?
> {code}
> 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];
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (MATH-360)
SmoothingBicubicSplineInterpolatorTest.testPreconditions() assigns wzval
but does not use it - test bug?
Posted by "Phil Steitz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MATH-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phil Steitz closed MATH-360.
----------------------------
> SmoothingBicubicSplineInterpolatorTest.testPreconditions() assigns wzval but does not use it - test bug?
> ---------------------------------------------------------------------------------------------------------
>
> Key: MATH-360
> URL: https://issues.apache.org/jira/browse/MATH-360
> Project: Commons Math
> Issue Type: Bug
> Reporter: Sebb
> Fix For: 2.1
>
>
> Findbugs points out that SmoothingBicubicSplineInterpolatorTest.testPreconditions() assigns wzval but does not use it - is this a test bug?
> {code}
> 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];
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.