diff --git a/math/mathcore/src/TKDTree.cxx b/math/mathcore/src/TKDTree.cxx index 2c16bc19bc43da14e08e3ce52f43367c34735bd2..1dd87f861669bb2ed5d1a780e6c8cc7eceae4f3f 100644 --- a/math/mathcore/src/TKDTree.cxx +++ b/math/mathcore/src/TKDTree.cxx @@ -249,6 +249,7 @@ TKDTree<Index, Value>::TKDTree() : TObject() ,fDataOwner(kFALSE) ,fNNodes(0) + ,fTotalNodes(0) ,fNDim(0) ,fNDimm(0) ,fNPoints(0) @@ -271,6 +272,7 @@ TKDTree<Index, Value>::TKDTree(Index npoints, Index ndim, UInt_t bsize) : TObject() ,fDataOwner(0) ,fNNodes(0) + ,fTotalNodes(0) ,fNDim(ndim) ,fNDimm(2*ndim) ,fNPoints(npoints) @@ -299,6 +301,7 @@ TKDTree<Index, Value>::TKDTree(Index npoints, Index ndim, UInt_t bsize, Value ** TObject() ,fDataOwner(0) ,fNNodes(0) + ,fTotalNodes(0) ,fNDim(ndim) ,fNDimm(2*ndim) ,fNPoints(npoints) diff --git a/math/mathcore/src/TVirtualFitter.cxx b/math/mathcore/src/TVirtualFitter.cxx index 3bb0daa6484cbb332466cb0112945305b0267f5c..dfedc3d4bb317c4e62df4e4b3ddddb74251af03e 100644 --- a/math/mathcore/src/TVirtualFitter.cxx +++ b/math/mathcore/src/TVirtualFitter.cxx @@ -33,16 +33,23 @@ ClassImp(TVirtualFitter) //______________________________________________________________________________ -TVirtualFitter::TVirtualFitter() +TVirtualFitter::TVirtualFitter() : + fXfirst(0), + fXlast(0), + fYfirst(0), + fYlast(0), + fZfirst(0), + fZlast(0), + fNpoints(0), + fPointSize(0), + fCacheSize(0), + fCache(0), + fObjectFit(0), + fUserFunc(0), + fMethodCall(0), + fFCN(0) { // Default constructor. - - fMethodCall = 0; - fFCN = 0; - fNpoints = 0; - fPointSize = 0; - fCacheSize = 0; - fCache = 0; } //______________________________________________________________________________