From: wolf Date: Mon, 3 Sep 2001 16:12:30 +0000 (+0000) Subject: Get const-correctness right. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f368bfea4f3db9f83905cbc4e6686e22a66e97f5;p=dealii-svn.git Get const-correctness right. git-svn-id: https://svn.dealii.org/trunk@4939 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/full_matrix.templates.h b/deal.II/lac/include/lac/full_matrix.templates.h index c9d8869047..0a0494c8f1 100644 --- a/deal.II/lac/include/lac/full_matrix.templates.h +++ b/deal.II/lac/include/lac/full_matrix.templates.h @@ -72,8 +72,8 @@ template FullMatrix & FullMatrix::operator *= (const double factor) { - number *p = data(); - const number *e = data() + n()*m(); + number *p = &el(0,0); + const number *e = &el(0,0) + n()*m(); while (p != e) *p++ *= factor;