Skip to content
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

[tmva] Fix maximum value for indexing the NumFolds parameter #11267

Merged
merged 1 commit into from
Aug 30, 2022

Conversation

lmoneta
Copy link
Member

@lmoneta lmoneta commented Aug 29, 2022

The maximum unsigned int value was used for an integer resulting in a negative integer value and this was causing a bug when accessing the numfold parameter in the CvSplit expression formula.
The bug is present when the parameter "NumFold" is not used in the SPlit expression.
See https://root-forum.cern.ch/t/tmva-crossvalidation-crashes-on-destructor-pyroot/51195

The maximum unsigned int value was used for an integer resulting in a negative integer value and this was causing a bug when accessing the numfold parameter in the CvSplit expression formula.
The bug is present when the parameter "NumFold" is not used in the SPlit expression.
See https://root-forum.cern.ch/t/tmva-crossvalidation-crashes-on-destructor-pyroot/51195
@lmoneta lmoneta requested a review from sitongan as a code owner August 29, 2022 09:28
@phsft-bot
Copy link
Collaborator

Starting build on ROOT-debian10-i386/soversion, ROOT-performance-centos8-multicore/cxx17, ROOT-ubuntu18.04/nortcxxmod, ROOT-ubuntu2004/python3, mac1015/cxx17, mac11/cxx14, windows10/cxx14
How to customize builds

@sanjibansg
Copy link
Contributor

LGTM!

@lmoneta lmoneta merged commit d47c2bf into root-project:master Aug 30, 2022
@lmoneta lmoneta deleted the tmva_fix_cvsplit_bug branch August 30, 2022 12:19
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.

None yet

3 participants