]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix assertion.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 4 Sep 2012 11:59:18 +0000 (11:59 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 4 Sep 2012 11:59:18 +0000 (11:59 +0000)
git-svn-id: https://svn.dealii.org/trunk@26231 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/lac/sparsity_tools.cc

index 83ce108ca96796482ec9c145b08ac67fa99fdf1c..8a294d6a73032320f02acfa587e7237e785463b4 100644 (file)
@@ -507,7 +507,7 @@ namespace SparsityTools
                   ptr++;
                 }
             }
-          Assert(ptr-1==end, ExcInternalError());
+          Assert(ptr==end, ExcInternalError());
 
         }
     }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.