From 95a2f432df88c65b2959bb3f1cb1db23bed8e03b Mon Sep 17 00:00:00 2001 From: Thomas Hahn Date: Mon, 11 Nov 2024 16:47:20 -0500 Subject: [PATCH] Fix an issue in the block_gf tests when using the updated nda MPI implementation --- test/c++/gfs/mpi_gf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/c++/gfs/mpi_gf.cpp b/test/c++/gfs/mpi_gf.cpp index cc151cb62..8dbd34668 100644 --- a/test/c++/gfs/mpi_gf.cpp +++ b/test/c++/gfs/mpi_gf.cpp @@ -131,10 +131,10 @@ TEST_F(MpiGf, ReduceBlockView) { auto bgf2 = bgf; - bgf2() = mpi::reduce(bgf); + bgf2 = mpi::reduce(bgf); if (world.rank() == 0) test_gfs_are_close(bgf2[0], gf{world.size() * g1}); - bgf2() = mpi::all_reduce(bgf); + bgf2 = mpi::all_reduce(bgf); test_gfs_are_close(bgf2[0], gf{world.size() * g1}); }