Fixed compiler warning involving return codes.
This commit is contained in:
parent
eb7043aae5
commit
f81b93e91e
@ -99,7 +99,7 @@ hypre_DistributedMatrixGetRowPETSc( hypre_DistributedMatrix *matrix,
|
|||||||
int **col_ind,
|
int **col_ind,
|
||||||
double **values )
|
double **values )
|
||||||
{
|
{
|
||||||
int ierr;
|
int ierr=0;
|
||||||
#ifdef PETSC_AVAILABLE
|
#ifdef PETSC_AVAILABLE
|
||||||
Mat PETSc_matrix = (Mat) hypre_DistributedMatrixLocalStorage(matrix);
|
Mat PETSc_matrix = (Mat) hypre_DistributedMatrixLocalStorage(matrix);
|
||||||
|
|
||||||
@ -122,7 +122,7 @@ hypre_DistributedMatrixRestoreRowPETSc( hypre_DistributedMatrix *matrix,
|
|||||||
int **col_ind,
|
int **col_ind,
|
||||||
double **values )
|
double **values )
|
||||||
{
|
{
|
||||||
int ierr;
|
int ierr=0;
|
||||||
#ifdef PETSC_AVAILABLE
|
#ifdef PETSC_AVAILABLE
|
||||||
Mat PETSc_matrix = (Mat) hypre_DistributedMatrixLocalStorage(matrix);
|
Mat PETSc_matrix = (Mat) hypre_DistributedMatrixLocalStorage(matrix);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user