Skip to content

Commit

Permalink
MatInvExplicitly_Inv: fixed color datatype and "uninitialized" warning
Browse files Browse the repository at this point in the history
  • Loading branch information
haplav committed Mar 10, 2017
1 parent 86dd7fa commit a19a9f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/mat/impls/inv/matinv.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ static PetscErrorCode MatInvSetPsubcommType_Inv(Mat imat, PetscSubcommType type)

#undef __FUNCT__
#define __FUNCT__ "MatInvGetPsubcommColor_Inv"
static PetscErrorCode MatInvGetPsubcommColor_Inv(Mat imat, PetscInt *color)
static PetscErrorCode MatInvGetPsubcommColor_Inv(Mat imat, PetscMPIInt *color)
{
Mat_Inv *inv = (Mat_Inv*) imat->data;
PC pc;
Expand Down Expand Up @@ -586,10 +586,10 @@ static PetscErrorCode MatInvExplicitly_Inv(Mat imat, PetscBool transpose, MatReu
PetscInt M;
PetscInt m, n;
MPI_Comm comm;
PetscMPIInt rank,subrank;
PetscMPIInt rank, subrank, scColor=0;
KSP ksp;
PetscInt iloihi[2];
PetscInt redundancy, scColor;
PetscInt redundancy;
Mat B;

PetscFunctionBeginI;
Expand Down

0 comments on commit a19a9f9

Please sign in to comment.