From: Wolfgang Bangerth Date: Wed, 6 Feb 2002 11:07:32 +0000 (+0000) Subject: Fix bug. X-Git-Tag: v8.0.0~18367 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41e29c21cf39251fbeac7b6d6f3fc9efbebd9c5b;p=dealii.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