]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix compilation 1201/head
authorTimo Heister <timo.heister@gmail.com>
Sun, 26 Jul 2015 21:52:31 +0000 (17:52 -0400)
committerTimo Heister <timo.heister@gmail.com>
Sun, 26 Jul 2015 21:52:31 +0000 (17:52 -0400)
size_type doesn't exist here yet

include/deal.II/base/index_set.h

index a80e6b5ef860c5665ba50b27f0ea633768f27a77..10a260d377b181f399abcbe44a02b6fd520fda30 100644 (file)
@@ -551,11 +551,11 @@ IndexSet::IndexSet (const Epetra_Map &map)
   index_space_size (map.NumGlobalElements()),
   largest_range (numbers::invalid_unsigned_int)
 {
-  const size_type n_indices = map.NumMyElements();
+  const types::global_dof_index n_indices = map.NumMyElements();
 #ifndef DEAL_II_WITH_64BIT_INDICES
   unsigned int *indices = (unsigned int *)map.MyGlobalElements();
 #else
-  size_type *indices = (size_type *)map.MyGlobalElements64();
+  types::global_dof_index *indices = (types::global_dof_index *)map.MyGlobalElements64();
 #endif
   add_indices(indices, indices+n_indices);
   compress();

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.