From: Wolfgang Bangerth Date: Wed, 10 Jan 2024 19:44:42 +0000 (-0700) Subject: Fix the type of an array. X-Git-Tag: relicensing~170^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6266f2cb73c7bb86c28d8a0dc79d5f731b973c6b;p=dealii.git Fix the type of an array. --- 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());