From 1cc4c0f6a57d8b860cc2c0f9e94f3368ce01481d Mon Sep 17 00:00:00 2001 From: bangerth Date: Wed, 27 Aug 2008 18:12:06 +0000 Subject: [PATCH] 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 --- deal.II/deal.II/include/numerics/vectors.templates.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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