From: hartmann Date: Mon, 24 May 2004 12:40:38 +0000 (+0000) Subject: Add missing implementation of SparseMatrix::operator =. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65a59bc32fc990b6cda17ae12adfdcd5b75b5fd8;p=dealii-svn.git Add missing implementation of SparseMatrix::operator =. git-svn-id: https://svn.dealii.org/branches/Branch-5-0@9299 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/source/petsc_sparse_matrix.cc b/deal.II/lac/source/petsc_sparse_matrix.cc index 5f13542903..9f8de5208e 100644 --- a/deal.II/lac/source/petsc_sparse_matrix.cc +++ b/deal.II/lac/source/petsc_sparse_matrix.cc @@ -51,6 +51,15 @@ namespace PETScWrappers + SparseMatrix & + SparseMatrix::operator = (const double d) + { + MatrixBase::operator = (d); + return *this; + } + + + void SparseMatrix::reinit (const unsigned int m, const unsigned int n,