From: bangerth Date: Tue, 8 Jan 2013 23:32:10 +0000 (+0000) Subject: Use a better way to identify the end of a row. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=994f403608423d5eed90da8e9b867b7d71d51240;p=dealii-svn.git Use a better way to identify the end of a row. git-svn-id: https://svn.dealii.org/trunk@27986 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/numerics/matrix_tools.cc b/deal.II/source/numerics/matrix_tools.cc index da2cf4167b..4e75af17c9 100644 --- a/deal.II/source/numerics/matrix_tools.cc +++ b/deal.II/source/numerics/matrix_tools.cc @@ -2366,7 +2366,7 @@ namespace MatrixTools // symmetric and we only walk over those rows for // which the current row has a column entry Assert ((p->column() == block_index.second) && - (p != this_matrix.begin(row+1)), + (p != this_matrix.end(row)), ExcInternalError()); // correct right hand side