diff --git a/drivers/laplacian.c b/drivers/laplacian.c index 9a9da85deb1f510e9b3c8c16113881d33ec9f83b..b49b85581d5303001815861e55ee1bb78753b405 100644 --- a/drivers/laplacian.c +++ b/drivers/laplacian.c @@ -290,7 +290,7 @@ genLaplacian( const char *filename, return rc; spm->flttype = flttype; - spm->n = spm->gN = dim1 * dim2 * dim3; + spm->n = dim1 * dim2 * dim3; laplacian_7points[spm->flttype](spm, dim1, dim2, dim3, alpha, beta); @@ -344,7 +344,7 @@ genExtendedLaplacian( const char *filename, return rc; spm->flttype = flttype; - spm->n = spm->gN = dim1 * dim2 * dim3; + spm->n = dim1 * dim2 * dim3; if( dim3 > 0 ) { extended_laplacian_table3D[spm->flttype](spm, dim1, dim2, dim3);