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

TMath::Poisson(n,mu) for n = 0 and mu < 0 returns wrong value !

    XMLWordPrintable

    Details

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

      All

    • Development:

      Description

      TMath::Poisson(n,mu) for n = 0 and mu < 0 returns wrong value , 

      instead of returning a NaN it returns exp(-mu) which is completely wrong. 
      This can cause some fits using the Poisson model to give wring results !

        Attachments

          Activity

            People

            Assignee:
            moneta Lorenzo Moneta
            Reporter:
            moneta Lorenzo Moneta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: