]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Closes #889 901/head
authorLuca Heltai <luca.heltai@sissa.it>
Tue, 5 May 2015 11:15:57 +0000 (13:15 +0200)
committerLuca Heltai <luca.heltai@sissa.it>
Tue, 5 May 2015 11:52:07 +0000 (13:52 +0200)
include/deal.II/lac/dynamic_sparsity_pattern.h

index 3877c6215fcbfe4999ce106d73bd4160a26a233b..97eab72ba2f78d795d8a4025b4db5269869b1d31 100644 (file)
@@ -739,7 +739,9 @@ namespace DynamicSparsityPatternIterators
   {
     return (sparsity_pattern == other.sparsity_pattern &&
             current_row == other.current_row &&
-            current_entry == other.current_entry);
+            ((current_entry == other.current_entry)
+             ||
+             (current_row == numbers::invalid_unsigned_int)));
   }
 
 

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.