From 994f403608423d5eed90da8e9b867b7d71d51240 Mon Sep 17 00:00:00 2001 From: bangerth Date: Tue, 8 Jan 2013 23:32:10 +0000 Subject: [PATCH] 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 --- deal.II/source/numerics/matrix_tools.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5