commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Created: (MATH-257) FastFourierTransformer.MultiDimensionalComplexMatrix.get() not consistent with FastFourierTransformer.MultiDimensionalComplexMatrix.set()
Date Sun, 05 Apr 2009 17:36:12 GMT
FastFourierTransformer.MultiDimensionalComplexMatrix.get() not consistent with FastFourierTransformer.MultiDimensionalComplexMatrix.set()
-----------------------------------------------------------------------------------------------------------------------------------------

                 Key: MATH-257
                 URL: https://issues.apache.org/jira/browse/MATH-257
             Project: Commons Math
          Issue Type: Bug
            Reporter: Sebb


FastFourierTransformer.MultiDimensionalComplexMatrix.get() is not consistent with FastFourierTransformer.MultiDimensionalComplexMatrix.set().

The set() method does not allow a null parameter to get past the first check.

The get() method allows a null parameter provided dimensionSize.length <= 1.

This seems wrong, both because it is inconsistent and because it may allow an NPE later if
dimensionSize.length == 1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message