]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix two more places where we needed access to private members.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 31 Mar 2004 22:05:09 +0000 (22:05 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 31 Mar 2004 22:05:09 +0000 (22:05 +0000)
git-svn-id: https://svn.dealii.org/trunk@8930 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/sparse_matrix.h

index 3818814cb298e4650c6ee43c9fe182234fe9c67f..9e22791974de37720e45c2f1a023ead69ba70b38 100644 (file)
@@ -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<number, Constness>::
     Iterator (const NonConstIterator &i)
                     :
-                    accessor(i.accessor)
+                    accessor(*i)
     {}
     
     

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.