Issue Details (XML | Word | Printable)

Key: MATH-257
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Luc Maisonobe
Reporter: Sebb
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons Math

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

Created: 05/Apr/09 05:35 PM   Updated: 23/Apr/09 02:26 AM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Resolution Date: 05/Apr/09 06:43 PM


 Description  « Hide
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



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.