]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Use a better way to identify the end of a row.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 8 Jan 2013 23:32:10 +0000 (23:32 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 8 Jan 2013 23:32:10 +0000 (23:32 +0000)
git-svn-id: https://svn.dealii.org/trunk@27986 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/numerics/matrix_tools.cc

index da2cf4167b08925c24270a5f4fc44075f2dad9ed..4e75af17c991902bf54ef34518f756aa84ca65eb 100644 (file)
@@ -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

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.