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

Fix "unordered" map documentation in DetectorCollection getters

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: afw
    • Labels:
      None
    • Templates:
    • Story Points:
      1
    • Sprint:
      DRP S20-2 (Jan)
    • Team:
      Data Release Production

      Description

      from Sogo Mineo on Slack

      The comment just above this method says "Get an unordered map", but it returns a binary-tree map instead:
      https://github.com/lsst/afw/blob/6637c4fb6fa5813268496d76dcd9e97cbd417bcc/include/lsst/afw/cameraGeom/DetectorCollection.h#L62

      We should just fix the docs; we probably have code that now depends on these being ordered, and it's not unreasonable for them to be ordered.

        Attachments

          Activity

            People

            • Assignee:
              jbosch Jim Bosch
              Reporter:
              jbosch Jim Bosch
              Watchers:
              Jim Bosch
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel