Skip to content

[RF] Ensure RooHistPdf values are positive in RooHistPdf::doEval()#21161

Merged
guitargeek merged 2 commits intoroot-project:masterfrom
guitargeek:issue-21159
Feb 6, 2026
Merged

[RF] Ensure RooHistPdf values are positive in RooHistPdf::doEval()#21161
guitargeek merged 2 commits intoroot-project:masterfrom
guitargeek:issue-21159

Conversation

@guitargeek
Copy link
Contributor

This is to be consistent with the old RooHistPdf::evaluate() code
path.

Closes #21159, where floating point precision effects made the value
fluctuate slightly below zero, resulting in NaN values when the
RooFFTConvPdf (which internally uses a RooHistPdf to cache values) is
used in a RooAbsPdf.

Closes #21159.

This is to be consistent with the old `RooHistPdf::evaluate()` code
path.

Closes root-project#21159, where floating point precision effects made the value
fluctuate slightly below zero, resulting in NaN values when the
RooFFTConvPdf (which internally uses a `RooHistPdf` to cache values) is
used in a `RooAbsPdf`.

Closes root-project#21159.
@github-actions
Copy link

github-actions bot commented Feb 4, 2026

Test Results

    22 files      22 suites   3d 14h 25m 2s ⏱️
 3 776 tests  3 775 ✅ 0 💤 1 ❌
76 012 runs  76 011 ✅ 0 💤 1 ❌

For more details on these failures, see this check.

Results for commit b9e5300.

♻️ This comment has been updated with latest results.

Copy link
Member

@lmoneta lmoneta left a comment

Choose a reason for hiding this comment

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

LGTM!
Thank you Jonas for fixing this!

@guitargeek guitargeek merged commit c530a54 into root-project:master Feb 6, 2026
73 of 79 checks passed
@guitargeek
Copy link
Contributor Author

/backport to 6.38, 6.36

@guitargeek guitargeek deleted the issue-21159 branch February 6, 2026 09:24
@guitargeek
Copy link
Contributor Author

backport to 6.38, 6.36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[RF] Unexpected result with RooFFTConvPDF after ROOT 6.32

2 participants