1. petsc
  2. PETSc
  3. petsc

Commits

BarryFSmith  committed cdce425

fixed MatDuplicate() for MPIAIJ matrices with blocksize > 1; previous fix only worked without ctable

  • Participants
  • Parent commits cd0e7f7
  • Branches master

Comments (0)

Files changed (1)

File src/mat/impls/aij/mpi/mmaij.c

View file
     }
   }
   aij->B->cmap->n = aij->B->cmap->N = ec;
+  aij->B->cmap->bs = 1;
 
   ierr = PetscLayoutSetUp((aij->B->cmap));CHKERRQ(ierr);
   ierr = PetscTableDestroy(&gid1_lid1);CHKERRQ(ierr);