From 74c7aab3fa1940736ce4a18dbb98a62ba5223f6c Mon Sep 17 00:00:00 2001 From: Ralf Hartmann Date: Tue, 25 May 2004 14:25:29 +0000 Subject: [PATCH] Revert last patch git-svn-id: https://svn.dealii.org/trunk@9324 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/source/petsc_matrix_base.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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)); -- 2.39.5