]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a trilinos array type. 16466/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Sat, 13 Jan 2024 04:29:39 +0000 (21:29 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sat, 13 Jan 2024 04:29:39 +0000 (21:29 -0700)
source/lac/trilinos_tpetra_sparsity_pattern.cc

index b7c3dcc8f2eedefffacd5ff06da4c5b7ba7bb8b3..0b769f09815f9e921cb411dcb8d3df6cf91518f3 100644 (file)
@@ -67,8 +67,8 @@ namespace LinearAlgebra
               NodeType>::nonconst_global_inds_host_view_type
               column_indices_view(colnum_cache->data(), colnum_cache->size());
 #  else
-            Teuchos::ArrayView<long long> column_indices_view(
-              colnum_cache->data(), colnum_cache->size());
+            Teuchos::ArrayView<dealii::types::signed_global_dof_index>
+              column_indices_view(colnum_cache->data(), colnum_cache->size());
 #  endif
             sparsity_pattern->graph->getGlobalRowCopy(this->a_row,
                                                       column_indices_view,

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.