Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-10555

RAxisBase::kNOverflowBins should be clarified or removed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core Libraries
    • Labels:
      None
    • Environment:

      x86_64, Linux 5.4.14, GCC 9.2.1

    • Development:

      Description

      RAxisBase has a kNOverflowBins static constexpr array, which is documented as "Extra bins for each EAxisOverflow value". This constexpr is never used, and a grep for EAxisOverflow in the ROOT repository yields no matches, so I have no idea what this is about.

      Since I don't like having incomprehensible code around, I'd personally tend to delete the constexpr unless someone recalls the intended purpose, believes it is still relevant, and feels like documenting it.

        Attachments

          Activity

            People

            Assignee:
            axel Axel Naumann
            Reporter:
            hgraslan Hadrien Benjamin Grasland
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: