From f0208f554ad45dd377c20bc7c812ddbb3d500188 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Mon, 5 Sep 2022 07:59:52 +0200 Subject: [PATCH] MatrixFree: Fix assertion in presence of FE_Nothing --- source/matrix_free/dof_info.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.39.5