From: wolf Date: Wed, 6 Feb 2002 11:07:32 +0000 (+0000) Subject: Fix bug. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51505a1a6defb68a3296a43a7c63dc98f7a480aa;p=dealii-svn.git Fix bug. git-svn-id: https://svn.dealii.org/trunk@5474 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/sparse_matrix.templates.h b/deal.II/lac/include/lac/sparse_matrix.templates.h index 12fcc7e0ff..ccf128d295 100644 --- a/deal.II/lac/include/lac/sparse_matrix.templates.h +++ b/deal.II/lac/include/lac/sparse_matrix.templates.h @@ -245,7 +245,7 @@ void SparseMatrix::copy_from (const FullMatrix &matrix) { // first delete previous content - clear (); + reinit (); // then copy old matrix for (unsigned int row=0; row