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

Sort out Spectrum containers

    XMLWordPrintable

    Details

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

      Description

      Currently FiberTraceSet is a std::vector<PTR<FiberTrace>>. For a SpectrumSet I originally had the same concept, but I found that the only way to get rid of the compiler warning "Returning address of a stack object" (something like that) was to go from std::vector<PTR<Spectrum>> to std::vector<Spectrum>. Actually I now have an idea what I might have done wrong (probably created a shared pointer without the "new" in the argument list - should check that) so I think for consistency and to reduce copying I should probably change that back to std::vector<PTR<Spectrum>> and try again...)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: