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

DetectorMap::getWavelength() doesn't compile

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      On os/x, clang+ -std=c+14 rejects initialising as

      Array2D result{numFibers, _bbox.getHeight()}

      You have to cast the int to std::size_t

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: