Skip to content

Conversation

hageboeck
Copy link
Member

When working with ROOT where some features were off, I encountered test failures. These commits reduce some of those, namely:

  • Add fallbacks to other RooFit backends when clad is off. The tests continue to run also with the numeric backend.
  • When selecting an unsupported algorithm in RootFinder, throw an exception instead of crashing.

When clad is off, the tests were failing. With the standard backend,
they run fine, though.
Copy link
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.

Thanks for fixing this! I only have one request about the tutorial

Copy link

github-actions bot commented Oct 3, 2025

Test Results

    21 files      21 suites   3d 20h 13m 48s ⏱️
 3 686 tests  3 686 ✅ 0 💤 0 ❌
75 547 runs  75 547 ✅ 0 💤 0 ❌

Results for commit b889d63.

♻️ This comment has been updated with latest results.

Copy link
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.

Thanks! LGTM

hageboeck and others added 2 commits October 3, 2025 15:41
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"))};
Copy link
Member

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()?

Copy link
Member Author

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?

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.

3 participants