]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
this-> added
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 11 Dec 2002 08:58:46 +0000 (08:58 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 11 Dec 2002 08:58:46 +0000 (08:58 +0000)
git-svn-id: https://svn.dealii.org/trunk@6808 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 29c71926bcf59e175cbc371ec672c478868e379b..19b58f9d64198255b3b8165e16bf0627fb16aacd 100644 (file)
@@ -1387,13 +1387,13 @@ inline
 typename SparseMatrix<number>::const_iterator&
 SparseMatrix<number>::const_iterator::operator++ ()
 {
-  Assert (a_row < matrix->m(), ExcIteratorPastEnd());
+  Assert (this->a_row < matrix->m(), ExcIteratorPastEnd());
   
-  ++a_index;
-  if (a_index >= matrix->get_sparsity_pattern().row_length(a_row))
+  ++this->a_index;
+  if (this->a_index >= this->matrix->get_sparsity_pattern().row_length(this->a_row))
     {
-      a_index = 0;
-      a_row++;
+      this->a_index = 0;
+      this->a_row++;
     }
   return *this;
 }
@@ -1423,7 +1423,7 @@ bool
 SparseMatrix<number>::const_iterator::operator == (
   const const_iterator& other) const
 {
-  return (row() == other->row() && index() == other->index());
+  return (this->row() == other->row() && this->index() == other->index());
 }
 
 
@@ -1443,8 +1443,8 @@ bool
 SparseMatrix<number>::const_iterator::operator < (
   const const_iterator& other) const
 {
-  return (row() < other->row() ||
-         (row() == other->row() && index() < other->index()));
+  return (this->row() < other->row() ||
+         (this->row() == other->row() && this->index() < other->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.