From: heister Date: Mon, 13 Aug 2012 07:38:50 +0000 (+0000) Subject: document change X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e818786e3ed7a812c38ef9c377955fdaa4290762;p=dealii-svn.git document change git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_3@25916 0785d39b-7218-0410-832d-ea1e28bc413d --- 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)); }