Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-257

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            luc Luc Maisonobe
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: