From: Alexander Grayver Date: Mon, 19 Oct 2015 10:24:22 +0000 (+0200) Subject: Fix compute_intergrid_weights_3 X-Git-Tag: v8.4.0-rc2~290^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff64e00388fbeb3ec9df80ffa814c5b0e923070c;p=dealii.git Fix compute_intergrid_weights_3 --- 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; } }