From c952df2965ddb4a08758b14a36cf24f777dd1320 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Thu, 11 Jul 2019 15:34:00 -0400 Subject: [PATCH] replace other NumGlobalElements call --- include/deal.II/lac/trilinos_sparse_matrix.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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); } -- 2.39.5