From b71a7dba6449a5fdac75a024e268c4f89abcddfc Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Fri, 18 May 2018 15:17:36 +0200 Subject: [PATCH] Do not set bound for next loop round at last item. --- include/deal.II/matrix_free/fe_evaluation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/deal.II/matrix_free/fe_evaluation.h b/include/deal.II/matrix_free/fe_evaluation.h index 0786ccd5c8..016e7006a8 100644 --- a/include/deal.II/matrix_free/fe_evaluation.h +++ b/include/deal.II/matrix_free/fe_evaluation.h @@ -3942,7 +3942,7 @@ FEEvaluationBase values_dofs[comp][ind_local][v]); } - if (apply_constraints == true) + if (apply_constraints == true && comp+1row_starts[cells[v]*n_fe_components+first_selected_component+comp+2].second; -- 2.39.5