From 9be94693a67e3c626b13b784a1cd82e20036f9d1 Mon Sep 17 00:00:00 2001 From: Willem Deconinck Date: Thu, 13 Feb 2025 15:13:40 +0100 Subject: [PATCH] Fix assemble_global_matrix with ATLAS_BITS_LOCAL=64 --- src/atlas/interpolation/AssembleGlobalMatrix.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atlas/interpolation/AssembleGlobalMatrix.cc b/src/atlas/interpolation/AssembleGlobalMatrix.cc index 4214cc2c2..269741781 100644 --- a/src/atlas/interpolation/AssembleGlobalMatrix.cc +++ b/src/atlas/interpolation/AssembleGlobalMatrix.cc @@ -134,7 +134,7 @@ atlas::linalg::SparseMatrixStorage assemble_global_matrix(const Interpolation& i auto compute_max_global_index = [&mpi_comm,mpi_root](const FunctionSpace& fs) { auto global_index = array::make_view(fs.global_index()); - auto ghost = array::make_view(fs.ghost()); + auto ghost = array::make_view(fs.ghost()); gidx_t max_gidx{0}; for( size_t i = 0; i < global_index.size(); ++i) { if (not ghost(i)) {