From: Timo Heister Date: Sun, 26 Jul 2015 21:52:31 +0000 (-0400) Subject: fix compilation X-Git-Tag: v8.3.0-rc2~1^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1201%2Fhead;p=dealii.git fix compilation size_type doesn't exist here yet --- diff --git a/include/deal.II/base/index_set.h b/include/deal.II/base/index_set.h index a80e6b5ef8..10a260d377 100644 --- a/include/deal.II/base/index_set.h +++ b/include/deal.II/base/index_set.h @@ -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();