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

Template method call returns a TemplateProxy instead of result

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Medium
    • Resolution: Fixed
    • 6.18/00
    • None
    • PyROOT
    • None
    • Centos7, Python3

    Description

      The following code:

      >>> import ROOT
      >>> ROOT.TMath.Sign(211,1)
      <ROOT.TemplateProxy object at 0x7fd32fd02890>
      

      returns a TemplateProxy instead of the result of running Sign, which should be:

      >>> import ROOT
      >>> ROOT.TMath.Sign(211,1)
      211.0
      

      The issue is solved in PyROOT experimental.

       

      Attachments

        Activity

          People

            etejedor Enric Tejedor Saavedra
            etejedor Enric Tejedor Saavedra
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Actual Start:
              Actual End: