From: Denis Davydov Date: Sat, 27 Feb 2016 19:07:22 +0000 (+0100) Subject: fix apply_boundary_values() for PETSc X-Git-Tag: v8.5.0-rc1~1277^2~7 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f18fed1f711c69d44930e5a900fb3f1d3e916882;p=dealii.git fix apply_boundary_values() for PETSc --- diff --git a/source/numerics/matrix_tools.cc b/source/numerics/matrix_tools.cc index 07a54505c5..28f784333d 100644 --- a/source/numerics/matrix_tools.cc +++ b/source/numerics/matrix_tools.cc @@ -2399,7 +2399,7 @@ namespace MatrixTools // figure out which rows of the matrix we // have to eliminate on this processor std::vector constrained_rows; - for (std::map::const_iterator + for (std::map::const_iterator dof = boundary_values.begin(); dof != boundary_values.end(); ++dof) @@ -2422,7 +2422,7 @@ namespace MatrixTools std::vector indices; std::vector solution_values; - for (std::map::const_iterator + for (std::map::const_iterator dof = boundary_values.begin(); dof != boundary_values.end(); ++dof) @@ -2522,7 +2522,7 @@ namespace MatrixTools block++; } const types::global_dof_index index = dof->first - offset; - block_boundary_values[block].insert(std::pair (index,dof->second)); + block_boundary_values[block].insert(std::pair (index,dof->second)); } }