]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Warnings corrected.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 9 Mar 2010 12:18:56 +0000 (12:18 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 9 Mar 2010 12:18:56 +0000 (12:18 +0000)
JETAN/AliKMeansClustering.cxx

index 078a86af94b5918bba34ded176a602218a2c59d1..b161e06b0a6ca220b58f0b750cd929c98a8e88b9 100755 (executable)
@@ -163,7 +163,6 @@ Int_t AliKMeansClustering::SoftKMeans2(Int_t k, Int_t n, Double_t* x, Double_t*
     } // data point j
     // (3) Iterations
     Int_t nit = 0;
-    Bool_t rmovalStep = kFALSE;
 
     while(1) {
        nit++;
@@ -291,7 +290,6 @@ Int_t AliKMeansClustering::SoftKMeans3(Int_t k, Int_t n, Double_t* x, Double_t*
     } // data point j
     // (3) Iterations
     Int_t nit = 0;
-    Bool_t rmovalStep = kFALSE;
 
     while(1) {
        nit++;
@@ -492,8 +490,8 @@ AliKMeansResult& AliKMeansResult::operator=(const AliKMeansResult& res)
       fTarget[i] = (res.GetTarget())[i];
       fInd[i]    = (res.GetInd())   [i];
     }
-    return *this;
   }
+  return *this;
 }