From: bangerth Date: Wed, 27 Aug 2008 18:12:06 +0000 (+0000) Subject: Open code a loop so as to make it compatible with Trilinos vectors as well. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cc4c0f6a57d8b860cc2c0f9e94f3368ce01481d;p=dealii-svn.git Open code a loop so as to make it compatible with Trilinos vectors as well. git-svn-id: https://svn.dealii.org/trunk@16676 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/numerics/vectors.templates.h b/deal.II/deal.II/include/numerics/vectors.templates.h index b299959806..90890d3212 100644 --- a/deal.II/deal.II/include/numerics/vectors.templates.h +++ b/deal.II/deal.II/include/numerics/vectors.templates.h @@ -480,7 +480,8 @@ void VectorTools::project (const Mapping &mapping, // and that wouldn't necessarily go // together with the matrix and // other functions - std::copy (vec.begin(), vec.end(), vec_result.begin()); + for (unsigned int i=0; i