]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add some this->. However, the file is so broken that it will still not
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 18 Feb 2003 15:54:21 +0000 (15:54 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 18 Feb 2003 15:54:21 +0000 (15:54 +0000)
compile presently :-(

git-svn-id: https://svn.dealii.org/trunk@7147 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/sparse_matrix_ez.h

index 55733e022eac45b1948133a5e9a4106d24b59442..31e06c1c3f1264dbba06189b09980a3722f77cdd 100644 (file)
@@ -1063,13 +1063,13 @@ inline
 typename SparseMatrixEZ<number>::const_iterator&
 SparseMatrixEZ<number>::const_iterator::operator++ ()
 {
-  Assert (a_row < matrix->m(), ExcIteratorPastEnd());
+  Assert (this->a_row < this->matrix->m(), ExcIteratorPastEnd());
   
   ++a_index;
-  if (a_index >= matrix->row_info[a_row].length)
+  if (this->a_index >= this->matrix->row_info[a_row].length)
     {
-      a_index = 0;
-      a_row++;
+      this->a_index = 0;
+      this->a_row++;
     }
   return *this;
 }
@@ -1099,7 +1099,7 @@ bool
 SparseMatrixEZ<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());
 }
 
 
@@ -1119,8 +1119,8 @@ bool
 SparseMatrixEZ<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.