]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Compilation warnings removal (Marian)
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 1 Jul 2010 14:33:21 +0000 (14:33 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 1 Jul 2010 14:33:21 +0000 (14:33 +0000)
TPC/AliTPCCorrection.cxx
TPC/AliTPCCorrection.h

index 1e0df2523bb390d6e271a6bd74bfc2626aa4a611..5c802818f422b784acf68d7e85db8f9664cfdb95 100644 (file)
@@ -696,7 +696,7 @@ void AliTPCCorrection::PoissonRelaxation2D(TMatrixD &arrayV, const TMatrixD &cha
 
 
 
-const Int_t AliTPCCorrection::IsPowerOfTwo(Int_t i) {
+Int_t AliTPCCorrection::IsPowerOfTwo(Int_t i) const {
   //
   // Helperfunction: Check if integer is a power of 2
   //
index 70aee612eca84d64e36a6f4a638c0bac634d50c7..e3666c8a45dff222cb0fe966c5b8188f8776c319 100644 (file)
@@ -107,7 +107,7 @@ protected:
   Double_t Interpolate( const Double_t xArray[], const Double_t yArray[], 
                        const Int_t order, const Double_t x );
   void Search( const Int_t n, const Double_t xArray[], const Double_t x, Int_t &low );
-  virtual const Int_t IsPowerOfTwo ( Int_t i ) ;
+  virtual Int_t IsPowerOfTwo ( Int_t i ) const  ;
     
   // Algorithms to solve the laplace or possion equation 
   void PoissonRelaxation2D(TMatrixD &arrayV, const TMatrixD &chargeDensity, TMatrixD &arrayErOverEz, const Int_t rows, const Int_t columns, const Int_t iterations );