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

New TF1 cannot handle unsorted parameters

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • High
    • Resolution: Fixed
    • 6.04.00
    • None
    • Math Libraries
    • None
    • MacOS X 10.10.3, XCode 6.3

    Description

      With the following I would expect to obtain a plot for "-3 + 2*x", while I actually get one for "+2 - 3*x":

      root [0] TF1 a("a", "[1] + [0]*x")
      root [1] a.SetParameter(0, 2)
      root [2] a.SetParameter(1, -3)
      root [3] a.Draw()

      Attachments

        Activity

          People

            moneta Lorenzo Moneta
            suhl Sebastian Uhl (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Actual End: