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

Wrong overload resolution for GetBinErrorUp in TH2D

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.18/00
    • Fix Version/s: 6.22/00
    • Component/s: PyROOT
    • Labels:
      None
    • Environment:

      Centos7, Python2

      Description

      As reported in:

      https://root-forum.cern.ch/t/root-th2-getbinerrorup-bin-not-exposed-to-pyroot/33862

      PyROOT fails to find the right overload for GetBinErrorUp when invoking it with one integer:

      >>> import ROOT as R
      >>> h = R.TH2D("h","h",100,0,1,100,0,1)
      >>> h.GetBinErrorUp(1)
      Traceback (most recent call last):
        File "<stdin>", line 1, in <module>
      TypeError: double TH2::GetBinErrorUp(int binx, int biny) =>
          takes at least 2 arguments (1 given) 

        Attachments

          Activity

            People

            • Assignee:
              etejedor Enric Tejedor Saavedra
              Reporter:
              etejedor Enric Tejedor Saavedra
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: