]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
some documentation change
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 16 Apr 2003 16:40:31 +0000 (16:40 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 16 Apr 2003 16:40:31 +0000 (16:40 +0000)
git-svn-id: https://svn.dealii.org/trunk@7404 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 0437a59ae7d8ef1c6b7557084354286392dbbf1d..869de985e75701c73f5da250d704001247920d69 100644 (file)
@@ -252,12 +252,16 @@ class SparseMatrixEZ : public Subscriptor
                       const unsigned short          index);
          
                                          /**
-                                          * Prefix increment.
+                                          * Prefix increment. This
+                                          * always returns a valid
+                                          * entry or @p{end()}.
                                           */
        const_iterator& operator++ ();
 
                                          /**
-                                          * Postfix increment.
+                                          * Postfix increment. This
+                                          * always returns a valid
+                                          * entry or @p{end()}.
                                           */
        const_iterator& operator++ (int);
 
@@ -1164,6 +1168,9 @@ SparseMatrixEZ<number>::const_iterator::operator++ ()
   if (accessor.a_index >= accessor.matrix->row_info[accessor.a_row].length)
     {
       accessor.a_index = 0;
+
+                                      // Do this loop to avoid
+                                      // elements in empty rows
       do
        {
          ++accessor.a_row;

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.