]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix the type of an array. 16451/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Wed, 10 Jan 2024 19:44:42 +0000 (12:44 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 10 Jan 2024 19:44:42 +0000 (12:44 -0700)
include/deal.II/lac/trilinos_tpetra_sparsity_pattern.h

index 613890c63ef59ee5c6ec90582c743205b518fcc5..7a5fa3f51cb753404ada97236625493ce395875d 100644 (file)
@@ -1368,7 +1368,8 @@ namespace LinearAlgebra
       // TODO: The following line creates an array by copying the entries.
       //       Perhaps there is a way to only create a 'view' of these arrays
       //       and pass that to Tpetra?
-      Teuchos::Array<long long> array(col_index_ptr_begin, col_index_ptr_end);
+      Teuchos::Array<TrilinosWrappers::types::int_type> array(
+        col_index_ptr_begin, col_index_ptr_end);
 
       if (row_is_stored_locally(row))
         graph->insertGlobalIndices(trilinos_row_index, array());

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.