Skip to content

Fix RooAbsPdf::extendedTerm when expected events is negative#8012

Merged
lmoneta merged 1 commit intoroot-project:masterfrom
lmoneta:fix_negative_expectedEvents
May 5, 2021
Merged

Fix RooAbsPdf::extendedTerm when expected events is negative#8012
lmoneta merged 1 commit intoroot-project:masterfrom
lmoneta:fix_negative_expectedEvents

Conversation

@lmoneta
Copy link
Copy Markdown
Member

@lmoneta lmoneta commented Apr 27, 2021

When the expected number of events is negative, return a NaN instead of 0.

This fixes #8011

@lmoneta lmoneta self-assigned this Apr 27, 2021
@phsft-bot
Copy link
Copy Markdown

Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos8-multicore/default, ROOT-fedora30/cxx14, ROOT-fedora31/noimt, ROOT-ubuntu16/nortcxxmod, mac1014/python3, mac11.0/cxx17, windows10/cxx14
How to customize builds

Copy link
Copy Markdown
Contributor

@guitargeek guitargeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@lmoneta lmoneta merged commit 7aa7e2e into root-project:master May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[RF] Bug in RooAbsPdf::extendedTerm when expected events is negative

3 participants