From: guido Date: Wed, 16 Apr 2003 16:40:31 +0000 (+0000) Subject: some documentation change X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b82a5a8a373cc6334551a757637236a4db33b7c;p=dealii-svn.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;