From 96166132f4797bc35f1c0636e1a947fbce47a404 Mon Sep 17 00:00:00 2001 From: wolf Date: Tue, 30 Mar 2004 15:09:06 +0000 Subject: [PATCH] Simplify logic. git-svn-id: https://svn.dealii.org/trunk@8924 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/sparse_matrix.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/lac/include/lac/sparse_matrix.h b/deal.II/lac/include/lac/sparse_matrix.h index 2b1930bc25..fb7acc9d22 100644 --- a/deal.II/lac/include/lac/sparse_matrix.h +++ b/deal.II/lac/include/lac/sparse_matrix.h @@ -1971,7 +1971,7 @@ namespace internals // if we happened to find the end // of the matrix, then stop here if (accessor.a_row == accessor.matrix->m()) - return *this; + break; } return *this; @@ -2001,7 +2001,7 @@ namespace internals // if we happened to find the end // of the matrix, then stop here if (accessor.a_row == accessor.matrix->m()) - return iter; + break; } return iter; -- 2.39.5