From: Ralf Hartmann Date: Mon, 24 May 2004 12:34:52 +0000 (+0000) Subject: Add missing implementation of SparseMatrix::operator =. X-Git-Tag: v8.0.0~15143 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b7ac519f9d13b98cd69d48fcae98ff4d839e31e;p=dealii.git Add missing implementation of SparseMatrix::operator =. git-svn-id: https://svn.dealii.org/trunk@9298 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,