Skip to content

Commit

Permalink
Fix assemble_global_matrix with ATLAS_BITS_LOCAL=64
Browse files Browse the repository at this point in the history
  • Loading branch information
wdeconinck committed Feb 13, 2025
1 parent ec59a20 commit 9be9469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/atlas/interpolation/AssembleGlobalMatrix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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<gidx_t, 1>(fs.global_index());
auto ghost = array::make_view<idx_t, 1>(fs.ghost());
auto ghost = array::make_view<int, 1>(fs.ghost());
gidx_t max_gidx{0};
for( size_t i = 0; i < global_index.size(); ++i) {
if (not ghost(i)) {
Expand Down

0 comments on commit 9be9469

Please sign in to comment.