From 9a92f763c6d97bf93f0e7fac03f8a4be2461b5a8 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 31 Aug 2017 11:24:14 -0500 Subject: [PATCH] Add an assert --- source/fe/fe_system.cc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/source/fe/fe_system.cc b/source/fe/fe_system.cc index 10d8fd1c95..95dc9b5078 100644 --- a/source/fe/fe_system.cc +++ b/source/fe/fe_system.cc @@ -1636,6 +1636,21 @@ void FESystem::initialize (const std::vectorget_generalized_support_points(); + for (unsigned int j = 0; j < points.size(); ++j) + { + const auto n = generalized_support_points_index_table[i][j]; + Assert(this->generalized_support_points[n] == points[j], + ExcInternalError()); + } + } +#endif /* DEBUG */ }); // initialize quad dof index permutation in 3d and higher -- 2.39.5