From: Daniel Arndt Date: Mon, 9 Oct 2017 12:52:26 +0000 (+0200) Subject: Rename loop variable to differ from enclosing one X-Git-Tag: v9.0.0-rc1~979^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F5215%2Fhead;p=dealii.git Rename loop variable to differ from enclosing one --- diff --git a/include/deal.II/numerics/vector_tools.templates.h b/include/deal.II/numerics/vector_tools.templates.h index f1c62f9b98..9332a367e4 100644 --- a/include/deal.II/numerics/vector_tools.templates.h +++ b/include/deal.II/numerics/vector_tools.templates.h @@ -436,9 +436,9 @@ namespace VectorTools // that we are allowed to set degrees of freedom if at least // one of the components (of the dof) is selected. bool selected = false; - for (unsigned int i = 0; i < nonzero_components.size(); ++i) + for (unsigned int c = 0; c < nonzero_components.size(); ++c) selected = - selected || (nonzero_components[i] && component_mask[i]); + selected || (nonzero_components[c] && component_mask[c]); if (selected) {