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=refs%2Fpull%2F16305%2Fhead;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;