21259
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 29 May 2013 13:31:22 +0000 (13:31 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 29 May 2013 13:31:22 +0000 (13:31 +0000)
21259
Unitialized scalar field

PYTHIA8/pythia8175/src/HelicityBasics.cxx
PYTHIA8/pythia8175/src/History.cxx

index 499ba2a..841d8e8 100644 (file)
@@ -113,7 +113,7 @@ ostream& operator<< (ostream& os, Wave4 w) {
 GammaMatrix::GammaMatrix(int mu) {
 
   COMPLEXZERO = complex( 0., 0.);
-
+  for (int i = 0; i < 4; i++)  index[i] = 0;
   if (mu == 0) {
     val[0] =  1.; val[1] =  1.; val[2] =  1.; val[3] =  1.;
     index[0] = 2; index[1] = 3; index[2] = 0; index[3] = 1;
index 21a251b..c78fffc 100644 (file)
@@ -96,6 +96,7 @@ History::History( int depth,
       prob(probin),
       clusterIn(c),
       iReclusteredOld(0),
+      iReclusteredNew(0),
       doInclude(true),
       mergingHooksPtr(mergingHooksPtrIn),
       beamA(beamAIn),