From: Guido Kanschat Date: Wed, 16 Apr 2003 16:40:31 +0000 (+0000) Subject: some documentation change X-Git-Tag: v8.0.0~16719 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=faa643ad2725edf64cd29126dd0fed0d6c1393c1;p=dealii.git some documentation change git-svn-id: https://svn.dealii.org/trunk@7404 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/sparse_matrix_ez.h b/deal.II/lac/include/lac/sparse_matrix_ez.h index 0437a59ae7..869de985e7 100644 --- a/deal.II/lac/include/lac/sparse_matrix_ez.h +++ b/deal.II/lac/include/lac/sparse_matrix_ez.h @@ -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::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;