From 4b7619f1c68742aa005ea318f64b6dc208b7fcc2 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Sun, 26 Jul 2015 17:52:31 -0400 Subject: [PATCH] fix compilation size_type doesn't exist here yet --- include/deal.II/base/index_set.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.39.5