Skip to content
Snippets Groups Projects
Commit 689d457f authored by Eckhard von Toerne's avatar Eckhard von Toerne
Browse files

fix coverity issue

git-svn-id: http://root.cern.ch/svn/root/trunk@38083 27541ba8-7e3a-0410-8455-c3a389f83636
parent 30bc5fb9
No related branches found
No related tags found
No related merge requests found
...@@ -96,6 +96,7 @@ TMVA::DecisionTree::DecisionTree(): ...@@ -96,6 +96,7 @@ TMVA::DecisionTree::DecisionTree():
fMinLinCorrForFisher (1), fMinLinCorrForFisher (1),
fUseExclusiveVars (kTRUE), fUseExclusiveVars (kTRUE),
fSepType (NULL), fSepType (NULL),
fRegType (NULL),
fMinSize (0), fMinSize (0),
fMinSepGain (0), fMinSepGain (0),
fUseSearchTree(kFALSE), fUseSearchTree(kFALSE),
...@@ -128,6 +129,7 @@ TMVA::DecisionTree::DecisionTree( TMVA::SeparationBase *sepType, Int_t minSize, ...@@ -128,6 +129,7 @@ TMVA::DecisionTree::DecisionTree( TMVA::SeparationBase *sepType, Int_t minSize,
fMinLinCorrForFisher (1), fMinLinCorrForFisher (1),
fUseExclusiveVars (kTRUE), fUseExclusiveVars (kTRUE),
fSepType (sepType), fSepType (sepType),
fRegType (NULL),
fMinSize (minSize), fMinSize (minSize),
fMinSepGain (0), fMinSepGain (0),
fUseSearchTree (kFALSE), fUseSearchTree (kFALSE),
...@@ -174,6 +176,7 @@ TMVA::DecisionTree::DecisionTree( const DecisionTree &d ): ...@@ -174,6 +176,7 @@ TMVA::DecisionTree::DecisionTree( const DecisionTree &d ):
fMinLinCorrForFisher (d.fMinLinCorrForFisher), fMinLinCorrForFisher (d.fMinLinCorrForFisher),
fUseExclusiveVars (d.fUseExclusiveVars), fUseExclusiveVars (d.fUseExclusiveVars),
fSepType (d.fSepType), fSepType (d.fSepType),
fRegType (d.fRegType),
fMinSize (d.fMinSize), fMinSize (d.fMinSize),
fMinSepGain (d.fMinSepGain), fMinSepGain (d.fMinSepGain),
fUseSearchTree (d.fUseSearchTree), fUseSearchTree (d.fUseSearchTree),
...@@ -203,7 +206,7 @@ TMVA::DecisionTree::~DecisionTree() ...@@ -203,7 +206,7 @@ TMVA::DecisionTree::~DecisionTree()
{ {
// destructor // destructor
// desctruction of the tree nodes done in the "base class" BinaryTree // destruction of the tree nodes done in the "base class" BinaryTree
if (fMyTrandom) delete fMyTrandom; if (fMyTrandom) delete fMyTrandom;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment