From 4b82a5a8a373cc6334551a757637236a4db33b7c Mon Sep 17 00:00:00 2001 From: guido Date: Wed, 16 Apr 2003 16:40:31 +0000 Subject: [PATCH] some documentation change git-svn-id: https://svn.dealii.org/trunk@7404 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/sparse_matrix_ez.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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; -- 2.39.5