From: Wolfgang Bangerth Date: Wed, 29 Nov 2023 00:08:09 +0000 (-0700) Subject: Better place a set of parentheses. X-Git-Tag: relicensing~275^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3f4c594e5fbbdb54b4de31ecb2db36790653483;p=dealii.git Better place a set of parentheses. --- diff --git a/source/dofs/dof_handler_policy.cc b/source/dofs/dof_handler_policy.cc index 38ca81c57b..fc0593469a 100644 --- a/source/dofs/dof_handler_policy.cc +++ b/source/dofs/dof_handler_policy.cc @@ -2995,7 +2995,7 @@ namespace internal unsigned int end_index = 0; while (start_index < n_dofs) { - while ((end_index) < n_dofs && + while ((end_index < n_dofs) && (subdomain_association[end_index] == subdomain_association[start_index])) ++end_index;