From 9ed93b28a9d217f1e191ff6c44d38d3084660c3a Mon Sep 17 00:00:00 2001 From: guido Date: Tue, 22 Apr 2003 07:40:45 +0000 Subject: [PATCH] Avoid iterator past end git-svn-id: https://svn.dealii.org/trunk@7442 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/sparse_matrix_ez.h | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/deal.II/lac/include/lac/sparse_matrix_ez.h b/deal.II/lac/include/lac/sparse_matrix_ez.h index 18d8b92580..f9f286cbfa 100644 --- a/deal.II/lac/include/lac/sparse_matrix_ez.h +++ b/deal.II/lac/include/lac/sparse_matrix_ez.h @@ -1474,11 +1474,21 @@ SparseMatrixEZ::begin (const unsigned int r) const template inline typename SparseMatrixEZ::const_iterator -SparseMatrixEZ::end (const unsigned int r) const +SparseMatrixEZ::end (unsigned int r) const { Assert (r