]> https://gitweb.dealii.org/ - dealii.git/commitdiff
FEEvaluation: fix assert 14565/head
authorPeter Munch <peterrmuench@gmail.com>
Sun, 11 Dec 2022 16:21:33 +0000 (17:21 +0100)
committerPeter Munch <peterrmuench@gmail.com>
Sun, 11 Dec 2022 16:21:33 +0000 (17:21 +0100)
include/deal.II/matrix_free/fe_evaluation.h

index 062c97ade8e06054c615a38ed859bae78f5c7b5d..94ad871bff73d3968dbd172933c21126c7f562ac 100644 (file)
@@ -7410,9 +7410,9 @@ FEEvaluation<dim,
              Number,
              VectorizedArrayType>::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());

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.