Permalink
Browse files

fuck git

  • Loading branch information...
1 parent 93f5c25 commit d778682ed498cfc45ac360804460606564bde6c3 @BarrySmith BarrySmith committed Jan 23, 2014
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/mat/utils/gcreate.c
View
@@ -345,7 +345,6 @@ PETSC_EXTERN PetscErrorCode MatHeaderReplace(Mat A,Mat C)
PetscCheckSameComm(A,1,C,2);
if (((PetscObject)C)->refct != 1) SETERRQ1(PetscObjectComm((PetscObject)C),PETSC_ERR_ARG_WRONGSTATE,"Object C has refct %D > 1, would leave hanging reference",((PetscObject)C)->refct);
- ierr = PetscViewerDestroy(&A->viewonassembly);CHKERRQ(ierr);
/* free all the interior data structures from mat */
ierr = (*A->ops->destroy)(A);CHKERRQ(ierr);
ierr = PetscHeaderDestroy_Private((PetscObject)A);CHKERRQ(ierr);

0 comments on commit d778682

Please sign in to comment.