From: wolf Date: Mon, 29 Mar 2004 19:51:02 +0000 (+0000) Subject: Also test matrix pointers. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b68f88462b5507c41d3883e34b6811f047e16f3c;p=dealii-svn.git Also test matrix pointers. git-svn-id: https://svn.dealii.org/trunk@8893 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 3d983d70b1..7b0c4ffb90 100644 --- a/deal.II/lac/include/lac/sparse_matrix.h +++ b/deal.II/lac/include/lac/sparse_matrix.h @@ -1970,7 +1970,8 @@ namespace internals Iterator:: 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()); }