Skip to content

Commit

Permalink
Fix an issue in the block_gf tests when using the updated nda MPI imp…
Browse files Browse the repository at this point in the history
…lementation
  • Loading branch information
Thoemi09 committed Nov 11, 2024
1 parent c504e37 commit 95a2f43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/c++/gfs/mpi_gf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<imfreq>{world.size() * g1});

bgf2() = mpi::all_reduce(bgf);
bgf2 = mpi::all_reduce(bgf);
test_gfs_are_close(bgf2[0], gf<imfreq>{world.size() * g1});
}

Expand Down

0 comments on commit 95a2f43

Please sign in to comment.