From: Timo Heister Date: Mon, 4 Nov 2013 23:00:07 +0000 (+0000) Subject: compute_block_wise for 64bit: fix one problem and remove ExcNotImplemented. Maybe... X-Git-Tag: v8.1.0~395 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ac3821de686df04eb8c43415e6e0c2a435a127e;p=dealii.git compute_block_wise for 64bit: fix one problem and remove ExcNotImplemented. Maybe it works as is. git-svn-id: https://svn.dealii.org/trunk@31542 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/dofs/dof_renumbering.cc b/deal.II/source/dofs/dof_renumbering.cc index 2bc1ed384c..1dde827f29 100644 --- a/deal.II/source/dofs/dof_renumbering.cc +++ b/deal.II/source/dofs/dof_renumbering.cc @@ -1058,8 +1058,6 @@ namespace DoFRenumbering all_dof_counts(fe_collection.n_components() * Utilities::MPI::n_mpi_processes (tria->get_communicator())); - Assert (sizeof(types::global_dof_index) == sizeof(unsigned int), - ExcNotImplemented()); MPI_Allgather ( &local_dof_count[0], n_buckets, DEAL_II_DOF_INDEX_MPI_TYPE, &all_dof_counts[0], @@ -1073,7 +1071,7 @@ namespace DoFRenumbering ExcInternalError()); //calculate shifts - unsigned int cumulated = 0; + types::global_dof_index cumulated = 0; for (unsigned int c=0; c