]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Also test matrix pointers.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 29 Mar 2004 19:51:02 +0000 (19:51 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 29 Mar 2004 19:51:02 +0000 (19:51 +0000)
git-svn-id: https://svn.dealii.org/trunk@8893 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 3d983d70b1a272a2a90b55733d8c1af33b1255f8..7b0c4ffb90b767c85babe94d346831ab9dfba03c 100644 (file)
@@ -1970,7 +1970,8 @@ namespace internals
     Iterator<number,Constness>::
     operator == (const Iterator& other) const
     {
-      return (accessor.row() == other.accessor.row() &&
+      return (accessor.matrix  == other.accessor.matrix &&
+              accessor.row()   == other.accessor.row() &&
               accessor.index() == other.accessor.index());
     }
 

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.