From a3c69e3c47614cca80a33a57ab7f1c798ee77c7a Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Tue, 26 May 2020 10:37:21 -0400 Subject: [PATCH] Remove unnecessary assertion --- include/deal.II/lac/sparsity_pattern.h | 2 -- 1 file changed, 2 deletions(-) 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); } -- 2.39.5