1. petsc
  2. PETSc
  3. petsc

Commits

Hong Zhang  committed 4614e00

fix errors made in previous change

  • Participants
  • Parent commits 3ff4c91
  • Branches master

Comments (0)

Files changed (1)

File src/mat/impls/aij/seq/matmatmult.c

View file
  • Ignore whitespace
     ISColoring           iscoloring;
     Mat                  Bt_dense,C_dense;
 
-    //ierr = MatGetColoring(*C,MATCOLORINGLF,&iscoloring);CHKERRQ(ierr);
-    ierr = MatGetColoring(*C,MATCOLORINGSL,&iscoloring);CHKERRQ(ierr);
+    ierr = MatGetColoring(*C,MATCOLORINGLF,&iscoloring);CHKERRQ(ierr);
     ierr = MatTransposeColoringCreate(*C,iscoloring,&matcoloring);CHKERRQ(ierr);
 
     multtrans->matcoloring = matcoloring;
   }
   ierr = PetscLogEventBegin(MAT_MatMultNumeric,A,B,0,0);CHKERRQ(ierr);
   ierr = MatMatMultNumeric_SeqAIJ_SeqDense(A,B,*C);CHKERRQ(ierr);
-  ierr = PetscLogEventEnd(MAT_MatMult,A,B,0,0);CHKERRQ(ierr);
+  ierr = PetscLogEventEnd(MAT_MatMultNumeric,A,B,0,0);CHKERRQ(ierr);
   PetscFunctionReturn(0);
 }