From 379a2085d28eb8f5f805e43722857b7a0607a265 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Mon, 9 Oct 2017 14:52:26 +0200 Subject: [PATCH] Rename loop variable to differ from enclosing one --- include/deal.II/numerics/vector_tools.templates.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.39.5