From: hartmann Date: Tue, 25 May 2004 14:28:00 +0000 (+0000) Subject: Revert last patch X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a48637655a988de5574c2ba60590e1dbe502b86;p=dealii-svn.git Revert last patch git-svn-id: https://svn.dealii.org/branches/Branch-5-0@9325 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/source/petsc_matrix_base.cc b/deal.II/lac/source/petsc_matrix_base.cc index 2de5b4a5ac..6f6ae79eb4 100644 --- a/deal.II/lac/source/petsc_matrix_base.cc +++ b/deal.II/lac/source/petsc_matrix_base.cc @@ -101,11 +101,7 @@ namespace PETScWrappers MatrixBase & MatrixBase::operator = (const double d) { - Assert (d==0, ExcScalarAssignmentOnlyForZeroValue()); - // first flush the buffers as - // this is not done by - // MatZeroEntries - compress(); + Assert (d==0, ExcScalarAssignmentOnlyForZeroValue()); const int ierr = MatZeroEntries (matrix); AssertThrow (ierr == 0, ExcPETScError(ierr));