From: Daniel Arndt Date: Tue, 26 May 2020 14:37:21 +0000 (-0400) Subject: Remove unnecessary assertion X-Git-Tag: v9.3.0-rc1~1558^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10360%2Fhead;p=dealii.git Remove unnecessary assertion --- diff --git a/include/deal.II/lac/sparsity_pattern.h b/include/deal.II/lac/sparsity_pattern.h index 703c20fb5c..d4c1187132 100644 --- a/include/deal.II/lac/sparsity_pattern.h +++ b/include/deal.II/lac/sparsity_pattern.h @@ -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); }