Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-12272

Fix bug in arrayFromVector

    Details

    • Type: Improvement
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: astshim
    • Story Points:
      0.5
    • Sprint:
      Alert Production F17 - 10
    • Team:
      Alert Production

      Description

      arrayFromVector has a bug: internally the strides vector is wrong, which can lead to memory issues. Fix this, wrap it for use in Python, and provide a unit test.

      Also, coefficient array arguments for ChebyMap, PolyMap and MatrixMap do not have const elements. Fix this.

        Attachments

          Issue Links

            Activity

            Hide
            rowen Russell Owen added a comment - - edited

            I also switched to consistently using the typedefs Array2D and ConstArray2D, as those make it clearer when elements are const.

            Show
            rowen Russell Owen added a comment - - edited I also switched to consistently using the typedefs Array2D and ConstArray2D , as those make it clearer when elements are const.
            Hide
            krzys Krzysztof Findeisen added a comment -

            Looks good.

            Show
            krzys Krzysztof Findeisen added a comment - Looks good.

              People

              • Assignee:
                rowen Russell Owen
                Reporter:
                rowen Russell Owen
                Reviewers:
                Krzysztof Findeisen
                Watchers:
                Krzysztof Findeisen, Russell Owen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel