]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove unnecessary assertion 10360/head
authorDaniel Arndt <arndtd@ornl.gov>
Tue, 26 May 2020 14:37:21 +0000 (10:37 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Tue, 26 May 2020 14:37:21 +0000 (10:37 -0400)
include/deal.II/lac/sparsity_pattern.h

index 703c20fb5c02d2955549e1bb09ca1d5a53fee59c..d4c1187132b5e943961e9136f13c7f8bcd21db52 100644 (file)
@@ -1418,8 +1418,6 @@ namespace SparsityPatternIterators
   inline bool
   Accessor::operator==(const Accessor &other) const
   {
-    Assert(container != nullptr, DummyAccessor());
-    Assert(other.container != nullptr, DummyAccessor());
     return (container == other.container && linear_index == other.linear_index);
   }
 

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.