From: ageay Date: Tue, 26 Oct 2010 05:58:10 +0000 (+0000) Subject: Suppression of warnings. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=878ad33f140b5a4f8e74db5084869c9876095252;p=tools%2Fmedcoupling.git Suppression of warnings. --- diff --git a/src/INTERP_KERNEL/InterpKernelMatrix.hxx b/src/INTERP_KERNEL/InterpKernelMatrix.hxx index b8110641b..1c85e5111 100755 --- a/src/INTERP_KERNEL/InterpKernelMatrix.hxx +++ b/src/INTERP_KERNEL/InterpKernelMatrix.hxx @@ -58,13 +58,13 @@ namespace INTERP_KERNEL Row (const Row& row) { this->resize(row.size()); - for (int i=0; isize(); i++) + for (unsigned int i=0; isize(); i++) (*this)[i]=row[i]; } Row& operator= (const Row& row) { this->resize(row.size()); - for (int i=0; isize(); i++) + for (unsigned int i=0; isize(); i++) (*this)[i]=row[i]; return *this; } @@ -90,7 +90,7 @@ namespace INTERP_KERNEL public: typedef Row value_type; public: - Matrix():_coeffs(0), _cols(0), _nb_rows(0), _is_configured(false) + Matrix():_nb_rows(0), _coeffs(0), _cols(0), _is_configured(false) { } Matrix(int nbrows):_coeffs(0), _cols(0), _is_configured(false) { _nb_rows=nbrows; } @@ -209,7 +209,7 @@ namespace INTERP_KERNEL if (!_is_configured) configure(); - for (int i=0; i< _nb_rows; i++) + for (unsigned int i=0; i< _nb_rows; i++) { for(int comp = 0; comp < nb_comp; comp++) output[i*nb_comp+comp]=0.; @@ -265,7 +265,7 @@ namespace INTERP_KERNEL for(int comp = 0; comp < nb_comp; comp++) output[icol*nb_comp+comp]=0.; - for (int i=0; i< _nb_rows; i++) + for (unsigned int i=0; i< _nb_rows; i++) { for (unsigned int j=_ncols_offset[i]; j< _ncols_offset[i+1]; j++) { @@ -286,7 +286,7 @@ namespace INTERP_KERNEL configure(); for (int icol=0; icol< nb_cols; icol++) output[icol]=0.; - for (int i=0; i< _nb_rows; i++) + for (unsigned int i=0; i< _nb_rows; i++) { for (unsigned int j=_ncols_offset[i]; j< _ncols_offset[i+1]; j++) { @@ -304,7 +304,7 @@ namespace INTERP_KERNEL { if (!_is_configured) configure(); - for (int i=0; i< _nb_rows; i++) + for (unsigned int i=0; i< _nb_rows; i++) { output[i]=0; for (unsigned int j=_ncols_offset[i]; j< _ncols_offset[i+1]; j++)