From 6266f2cb73c7bb86c28d8a0dc79d5f731b973c6b Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 10 Jan 2024 12:44:42 -0700 Subject: [PATCH] Fix the type of an array. --- include/deal.II/lac/trilinos_tpetra_sparsity_pattern.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/deal.II/lac/trilinos_tpetra_sparsity_pattern.h b/include/deal.II/lac/trilinos_tpetra_sparsity_pattern.h index 613890c63e..7a5fa3f51c 100644 --- a/include/deal.II/lac/trilinos_tpetra_sparsity_pattern.h +++ b/include/deal.II/lac/trilinos_tpetra_sparsity_pattern.h @@ -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 array(col_index_ptr_begin, col_index_ptr_end); + Teuchos::Array array( + col_index_ptr_begin, col_index_ptr_end); if (row_is_stored_locally(row)) graph->insertGlobalIndices(trilinos_row_index, array()); -- 2.39.5