From: Wolfgang Bangerth Date: Mon, 3 Sep 2001 16:12:30 +0000 (+0000) Subject: Get const-correctness right. X-Git-Tag: v8.0.0~18859 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=139912b478ae73cdf4863969f5dddb82b05ab793;p=dealii.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;