From: Ralf Hartmann Date: Wed, 19 May 2004 09:14:13 +0000 (+0000) Subject: Add missing implementation of SparseMatrix::operator =. X-Git-Tag: v8.0.0~15164 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3386bb5af0c1e67748e7fa523084a081d70f96c5;p=dealii.git Add missing implementation of SparseMatrix::operator =. git-svn-id: https://svn.dealii.org/trunk@9265 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/source/petsc_parallel_sparse_matrix.cc b/deal.II/lac/source/petsc_parallel_sparse_matrix.cc index a445c2ab24..e71ba0ae96 100644 --- a/deal.II/lac/source/petsc_parallel_sparse_matrix.cc +++ b/deal.II/lac/source/petsc_parallel_sparse_matrix.cc @@ -65,6 +65,15 @@ namespace PETScWrappers + SparseMatrix & + SparseMatrix::operator = (const double d) + { + MatrixBase::operator = (d); + return *this; + } + + + void SparseMatrix::reinit (const MPI_Comm &communicator, const unsigned int m,