Skip to content

Commit 4550b57

Browse files
ferdymercuryguitargeek
authored andcommitted
[tmva] branches on stack, local scope, reset before return
Fixes #10010 All the credit for this fix goes to pcanal and anaumann
1 parent 69d57cd commit 4550b57

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tmva/tmva/src/DataSet.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -820,6 +820,7 @@ TTree* TMVA::DataSet::GetTree( Types::ETreeType type )
820820
delete[] metVals[i];
821821
delete[] metVals;
822822

823+
tree->ResetBranchAddresses();
823824
return tree;
824825
}
825826

0 commit comments

Comments
 (0)