From: Martin Kronbichler Date: Mon, 5 Sep 2022 05:59:52 +0000 (+0200) Subject: MatrixFree: Fix assertion in presence of FE_Nothing X-Git-Tag: v9.5.0-rc1~992^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14239%2Fhead;p=dealii.git MatrixFree: Fix assertion in presence of FE_Nothing --- diff --git a/source/matrix_free/dof_info.cc b/source/matrix_free/dof_info.cc index 8cf256b08a..6fe7abaebd 100644 --- a/source/matrix_free/dof_info.cc +++ b/source/matrix_free/dof_info.cc @@ -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,