Skip to content

Commit

Permalink
small part 3
Browse files Browse the repository at this point in the history
  • Loading branch information
lroberts36 committed Oct 22, 2024
1 parent d0d0194 commit 6bafb0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bvals/comms/boundary_communication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ TaskStatus ReceiveBoundBufs(std::shared_ptr<MeshData<Real>> &md) {
bool all_received = true;
std::for_each(
std::begin(cache.buf_vec), std::end(cache.buf_vec),
[&all_received](auto pbuf) { all_received = pbuf->TryReceive() && all_received; });
[&all_received](auto pbuf) { all_received = pbuf->TryReceiveLocal() && all_received; });

int ibound = 0;
if (Globals::sparse_config.enabled && all_received) {
Expand Down

0 comments on commit 6bafb0a

Please sign in to comment.