]> https://gitweb.dealii.org/ - dealii.git/commitdiff
MatrixFree: Fix assertion in presence of FE_Nothing 14239/head
authorMartin Kronbichler <martin.kronbichler@uni-a.de>
Mon, 5 Sep 2022 05:59:52 +0000 (07:59 +0200)
committerMartin Kronbichler <martin.kronbichler@uni-a.de>
Mon, 5 Sep 2022 05:59:52 +0000 (07:59 +0200)
source/matrix_free/dof_info.cc

index 8cf256b08a2f2f9d1148fa1d45b24a75c1c357e1..6fe7abaebd15ae21fb458ba4fbf44789f33dbcb8 100644 (file)
@@ -863,7 +863,7 @@ namespace internal
                             vectorization_length);
             AssertIndexRange(
               row_starts[i * vectorization_length * n_components].first,
-              this->dof_indices_interleaved.size());
+              this->dof_indices_interleaved.size() + 1);
             AssertIndexRange(
               row_starts[i * vectorization_length * n_components].first +
                 ndofs * vectorization_length,

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.