-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[math/RF] Reduce test failures when ROOT is built without clad or gsl #20027
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
When clad is off, the tests were failing. With the standard backend, they run fine, though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this! I only have one request about the tutorial
Test Results 21 files 21 suites 3d 20h 13m 48s ⏱️ Results for commit b889d63. ♻️ This comment has been updated with latest results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! LGTM
Also fix a warning that protects from a Gaussian with sigma=0. Co-authored-by: Jonas Rembser <[email protected]>
When MathMore cannot be loaded, the tutorial exampleFunction.py used to crash. Here, an exception is added thrown in the constructor, which can be caught in the Python tutorial.
|
||
// Fit 1 - RooMultiPdf fit | ||
|
||
std::unique_ptr<RooAbsReal> nll{multipdf.createNLL(*data, EvalBackend("codegen"))}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we do it the opposite way. We have the ifdef in the EvalBackend("codegen")
where we check if clad is not on, we warn and switch to EvalBackend::defaultValue()
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess that possible. @guitargeek, OK with you?
When working with ROOT where some features were off, I encountered test failures. These commits reduce some of those, namely: