From: Peter Munch Date: Sun, 11 Dec 2022 16:21:33 +0000 (+0100) Subject: FEEvaluation: fix assert X-Git-Tag: v9.5.0-rc1~739^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60114e80afec1ecb57d21315dc308e3e6fca5c34;p=dealii.git FEEvaluation: fix assert --- diff --git a/include/deal.II/matrix_free/fe_evaluation.h b/include/deal.II/matrix_free/fe_evaluation.h index 062c97ade8..94ad871bff 100644 --- a/include/deal.II/matrix_free/fe_evaluation.h +++ b/include/deal.II/matrix_free/fe_evaluation.h @@ -7410,9 +7410,9 @@ FEEvaluation::reinit(const unsigned int cell_index) { - Assert(this->mapped_geometry == nullptr, + Assert(this->matrix_free != nullptr, ExcMessage("FEEvaluation was initialized without a matrix-free object." - " Integer indexing is not possible")); + " Integer indexing is not possible.")); Assert(this->dof_info != nullptr, ExcNotInitialized()); Assert(this->mapping_data != nullptr, ExcNotInitialized());