From ff64e00388fbeb3ec9df80ffa814c5b0e923070c Mon Sep 17 00:00:00 2001 From: Alexander Grayver Date: Mon, 19 Oct 2015 12:24:22 +0200 Subject: [PATCH] Fix compute_intergrid_weights_3 --- source/dofs/dof_tools_constraints.cc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/source/dofs/dof_tools_constraints.cc b/source/dofs/dof_tools_constraints.cc index 7859ed3ab5..8c19ba84cb 100644 --- a/source/dofs/dof_tools_constraints.cc +++ b/source/dofs/dof_tools_constraints.cc @@ -2584,7 +2584,6 @@ namespace DoFTools // loop over all dofs on this cell and check whether they are // interesting for us - unsigned int pos = 0; for (unsigned int local_dof=0; local_dof set_dof_values_by_interpolation (parameter_dofs[local_parameter_dof], - copy_data.global_parameter_representation[pos]); + copy_data.global_parameter_representation[local_parameter_dof]); #ifdef DEAL_II_WITH_MPI - copy_data.global_parameter_representation[pos].update_ghost_values (); + copy_data.global_parameter_representation[local_parameter_dof].update_ghost_values (); #endif - ++pos; } } -- 2.39.5