From: wolf Date: Tue, 30 Mar 2004 15:09:06 +0000 (+0000) Subject: Simplify logic. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96166132f4797bc35f1c0636e1a947fbce47a404;p=dealii-svn.git Simplify logic. git-svn-id: https://svn.dealii.org/trunk@8924 0785d39b-7218-0410-832d-ea1e28bc413d --- 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;