From e818786e3ed7a812c38ef9c377955fdaa4290762 Mon Sep 17 00:00:00 2001 From: heister Date: Mon, 13 Aug 2012 07:38:50 +0000 Subject: [PATCH] document change git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_3@25916 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/distributed/tria.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deal.II/source/distributed/tria.cc b/deal.II/source/distributed/tria.cc index 615ddceddc..b8d1f9c903 100644 --- a/deal.II/source/distributed/tria.cc +++ b/deal.II/source/distributed/tria.cc @@ -2815,6 +2815,10 @@ namespace parallel number_cache.n_global_active_cells = std::accumulate (number_cache.n_locally_owned_active_cells.begin(), number_cache.n_locally_owned_active_cells.end(), + /* ensure sum is + computed with + correct data + type:*/ static_cast(0)); } -- 2.39.5