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
address UB in EnergyUncertaintyPhotonSpecific.cc #35045
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35045/24915
|
A new Pull Request was created by @afiqaize (Afiq Anuar) for master. It involves the following packages:
@jpata, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild please test |
@afiqaize |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-8cf577/18091/summary.html Comparison SummarySummary:
|
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
Code changes address #35036
Problem is caused by function being called with brem = nan. Did not investigate why this is happening.
Also took the chance to improve the readability of the parameter arrays, and removed a redundant logic.
PR validation:
Code compiles, and checked that the block that triggered UB is no longer reached with nan calls.