forked from root-project/root
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RF] Remove warnings about large pdf values and just check for infinity
Usually, when this warning happens, it's a false positive that annoys users and they complain about it. Since the threshold is hardcoded, it happens usually when your observable domains are narrow and the probability density is high, i.e. when the order of magnitude of your observable is small. For example, when you have a uniform in the range 0.0 to 1.1e-6, you'll get this warning for every pdf evaluation for no reason. Or if you have a RooProdPdf, this can happen even more easily: the product of two uniforms over the domain 0.0 to 1.1e-3 each will also reach the 1e-6 threshold. So it's better to only check for infinite values, which was probably the intention anyway.
- Loading branch information
1 parent
75a6cea
commit df66e78
Showing
4 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters