From: Martin Kronbichler Date: Fri, 18 May 2018 13:17:36 +0000 (+0200) Subject: Do not set bound for next loop round at last item. X-Git-Tag: v9.1.0-rc1~1124^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b71a7dba6449a5fdac75a024e268c4f89abcddfc;p=dealii.git Do not set bound for next loop round at last item. --- 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;