Uploaded image for project: 'DRP 2-D Pipeline'
  1. DRP 2-D Pipeline
  2. PIPE2D-85

Make changes to handle ndarray now using size_t for its array sizes

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Sprint:
      2014-16

      Description

      In the v12_1 release, we're switching to using ndarry as an external dependency, and one change is that it now uses size_t not int for array sizes (in conformity with the C++ STL).

      Unfortunately, things like

      ndarray::makeVector( shape[0]-1, 1 )

      fail to compile (as shape is size_t and 1 is int). The fix is

      ndarray::makeVector<size_t>( shape[0]-1, 1 )

        Attachments

          Activity

            People

            • Assignee:
              rhl rhl
              Reporter:
              rhl rhl
              Reviewers:
              aritter
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: