From: bangerth Date: Tue, 4 Sep 2012 11:59:18 +0000 (+0000) Subject: Fix assertion. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04cd9dd4a65b0063275a31c792307cbb880d81ae;p=dealii-svn.git Fix assertion. git-svn-id: https://svn.dealii.org/trunk@26231 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/lac/sparsity_tools.cc b/deal.II/source/lac/sparsity_tools.cc index 83ce108ca9..8a294d6a73 100644 --- a/deal.II/source/lac/sparsity_tools.cc +++ b/deal.II/source/lac/sparsity_tools.cc @@ -507,7 +507,7 @@ namespace SparsityTools ptr++; } } - Assert(ptr-1==end, ExcInternalError()); + Assert(ptr==end, ExcInternalError()); } }