From 5f50d5ac9097e222ab4b4218ab6df794696e0e97 Mon Sep 17 00:00:00 2001 From: Bruno Turcksin Date: Tue, 4 Jun 2013 14:44:57 +0000 Subject: [PATCH] Fix a bug when using 32bits global indices. git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_4@29749 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/lac/sparsity_tools.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deal.II/source/lac/sparsity_tools.cc b/deal.II/source/lac/sparsity_tools.cc index fda4a412e5..95435d3984 100644 --- a/deal.II/source/lac/sparsity_tools.cc +++ b/deal.II/source/lac/sparsity_tools.cc @@ -452,7 +452,11 @@ namespace SparsityTools for (map_vec_t::iterator it=send_data.begin(); it!=send_data.end(); ++it, ++idx) MPI_Isend(&(it->second[0]), it->second.size(), +#ifdef DEAL_II_USE_LARGE_INDEX_TYPE MPI_UNSIGNED_LONG_LONG, +#else + MPI_UNSIGNED, +#endif it->first, 124, mpi_comm, -- 2.39.5