fix compiler warnings
This commit is contained in:
@@ -63,7 +63,6 @@ void ScaLBL_FreeLeeModel::getData_RegularLayout(const double *data, DoubleArray
|
||||
// Gets data (in optimized layout) from the HOST and stores in regular layout
|
||||
// Primarly for debugging
|
||||
int i,j,k,idx;
|
||||
int n;
|
||||
|
||||
// initialize the array
|
||||
regdata.fill(0.f);
|
||||
@@ -72,7 +71,6 @@ void ScaLBL_FreeLeeModel::getData_RegularLayout(const double *data, DoubleArray
|
||||
for (k=0; k<Nz; k++){
|
||||
for (j=0; j<Ny; j++){
|
||||
for (i=0; i<Nx; i++){
|
||||
n=k*Nx*Ny+j*Nx+i;
|
||||
idx=Map(i,j,k);
|
||||
if (!(idx<0)){
|
||||
value=data[idx];
|
||||
|
||||
Reference in New Issue
Block a user