From 83b82d7bb17c3827b10e24f5957dabd7f58aff4d Mon Sep 17 00:00:00 2001 From: turcksin Date: Mon, 26 Aug 2013 19:08:38 +0000 Subject: [PATCH] Fix a bug while compiling with 64bit indices. git-svn-id: https://svn.dealii.org/trunk@30497 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/numerics/vector_tools.templates.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/deal.II/include/deal.II/numerics/vector_tools.templates.h b/deal.II/include/deal.II/numerics/vector_tools.templates.h index 39b16c8cf1..0a906013a5 100644 --- a/deal.II/include/deal.II/numerics/vector_tools.templates.h +++ b/deal.II/include/deal.II/numerics/vector_tools.templates.h @@ -4729,8 +4729,9 @@ namespace VectorTools // iterate over the list of all vector components we found and see if we // can find constrained ones unsigned int n_total_constraints_found = 0; - for (typename std::set,PointComparator >:: - const_iterator it=vector_dofs.begin(); it!=vector_dofs.end(); ++it) + for (typename std::set, + PointComparator >::const_iterator it=vector_dofs.begin(); + it!=vector_dofs.end(); ++it) { unsigned int n_constraints = 0; bool is_constrained[dim]; @@ -4769,7 +4770,7 @@ namespace VectorTools normal[d] = 1.; } AssertIndexRange(constrained_index, dim); - const std::vector >* constrained + const std::vector >* constrained = no_normal_flux_constraints.get_constraint_entries((*it)[constrained_index]); // find components to which this index is constrained to Assert(constrained != 0, ExcInternalError()); -- 2.39.5