From 96bc31284816be9eff007a0f804f3a01ac7ea347 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Fri, 29 Jun 2018 17:48:42 +0200 Subject: [PATCH] Fix bug in FEFaceEvaluation in 1D. --- include/deal.II/matrix_free/evaluation_kernels.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/deal.II/matrix_free/evaluation_kernels.h b/include/deal.II/matrix_free/evaluation_kernels.h index d093c47b7c..1173c86f95 100644 --- a/include/deal.II/matrix_free/evaluation_kernels.h +++ b/include/deal.II/matrix_free/evaluation_kernels.h @@ -1407,7 +1407,7 @@ namespace internal values_quad); break; case 1: - values_quad[c] = values_dofs[2 * c]; + values_quad[0] = values_dofs[0]; break; default: Assert(false, ExcNotImplemented()); @@ -1561,7 +1561,7 @@ namespace internal values_dofs); break; case 1: - values_dofs[2 * c] = values_quad[c][0]; + values_dofs[0] = values_quad[0]; break; default: Assert(false, ExcNotImplemented()); -- 2.39.5