diff --git a/src/bvals/comms/boundary_communication.cpp b/src/bvals/comms/boundary_communication.cpp index 04ac9135888c..e4f42d2d6284 100644 --- a/src/bvals/comms/boundary_communication.cpp +++ b/src/bvals/comms/boundary_communication.cpp @@ -219,6 +219,7 @@ TaskStatus ReceiveBoundBufs(std::shared_ptr> &md) { std::for_each( std::begin(cache.buf_vec), std::end(cache.buf_vec), [&all_received](auto pbuf) { all_received = pbuf->TryReceive() && all_received; }); + int ibound = 0; if (Globals::sparse_config.enabled && all_received) { ForEachBoundary(