From: wolf Date: Wed, 31 Mar 2004 22:05:09 +0000 (+0000) Subject: Fix two more places where we needed access to private members. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc7392cc1ab9b1dff5af22c1c22cb23355a5f35a;p=dealii-svn.git Fix two more places where we needed access to private members. git-svn-id: https://svn.dealii.org/trunk@8930 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/sparse_matrix.h b/deal.II/lac/include/lac/sparse_matrix.h index 3818814cb2..9e22791974 100644 --- a/deal.II/lac/include/lac/sparse_matrix.h +++ b/deal.II/lac/include/lac/sparse_matrix.h @@ -1831,7 +1831,7 @@ namespace internals Accessor (const NonConstAccessor &a) : SparsityPatternIterators::Accessor (a), - matrix (a.matrix) + matrix (&a.get_matrix()) {} @@ -1992,7 +1992,7 @@ namespace internals Iterator:: Iterator (const NonConstIterator &i) : - accessor(i.accessor) + accessor(*i) {}