lev1 and lev2 variables initialized
authorbnandi <bnandi@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 21 Jun 2006 07:32:51 +0000 (07:32 +0000)
committerbnandi <bnandi@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 21 Jun 2006 07:32:51 +0000 (07:32 +0000)
PMD/AliPMDClusteringV1.cxx

index 44e97aa..62b2966 100644 (file)
@@ -482,8 +482,8 @@ void AliPMDClusteringV1::RefClust(int incr)
       }
       if(ig > 0){
        for(j=0; j<=ncl[i]; j++){
-         lev1[0]=0;
-         lev2[0]=0;
+         lev1[j]=0;
+         lev2[j]=0;
          for(k=0; k<=ig; k++){
            dist=Distance(x[j], y[j], xc[k], yc[k]);
            if(dist < sqrt(3.) ){