]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
conversion to types::global_dof_index
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 10 Aug 2012 15:23:45 +0000 (15:23 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 10 Aug 2012 15:23:45 +0000 (15:23 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_3@25879 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/distributed/tria.cc

index 9499c5548fefbd65b1f7e6df8aab93e4e668aeb7..615ddceddcf05a3aa1e84194e1987ce2e9ea9de7 100644 (file)
@@ -2815,7 +2815,7 @@ 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(),
-                           0);
+                           static_cast<types::global_dof_index>(0));
     }
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.