From: Timo Heister Date: Thu, 11 Jul 2019 19:34:00 +0000 (-0400) Subject: replace other NumGlobalElements call X-Git-Tag: v9.2.0-rc1~1383^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8378%2Fhead;p=dealii.git replace other NumGlobalElements call --- diff --git a/include/deal.II/lac/trilinos_sparse_matrix.h b/include/deal.II/lac/trilinos_sparse_matrix.h index 26c8467dfc..33732d99ce 100644 --- a/include/deal.II/lac/trilinos_sparse_matrix.h +++ b/include/deal.II/lac/trilinos_sparse_matrix.h @@ -27,6 +27,7 @@ # include # include # include +# include # include # include # include @@ -3132,11 +3133,7 @@ namespace TrilinosWrappers // sparsity pattern), it does not know about the number of columns so we // must always take this from the additional column space map Assert(column_space_map.get() != nullptr, ExcInternalError()); -# ifndef DEAL_II_WITH_64BIT_INDICES - return column_space_map->NumGlobalElements(); -# else - return column_space_map->NumGlobalElements64(); -# endif + return n_global_elements(*column_space_map); }