We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 819afa0 commit 5eb3fa9Copy full SHA for 5eb3fa9
1 file changed
plugin/mpi/PETSc-code.hpp
@@ -4030,6 +4030,7 @@ namespace PETSc {
4030
Matrice_Creuse< upscaled_type<PetscScalar> >* ptK =
4031
(c == 0 || c == 3 ? GetAny< Matrice_Creuse< upscaled_type<PetscScalar> >* >((*K)(stack)) : nullptr);
4032
if (ptB->_petsc && ptC->_petsc) {
4033
+ if (ptA->_petsc) ptA->dtor( );
4034
ptA->_first = ptB->_first;
4035
ptA->_last = ptB->_last;
4036
ptA->_cfirst = ptC->_first;
0 commit comments