This commit is contained in:
WickedJack99
2025-06-29 20:28:44 +02:00
parent a4cb7b025a
commit 4eec8e12c3

View File

@@ -101,7 +101,7 @@ void Jacobi::exchangeHaloLayersNodeMPIProcFirst(Matrix &phi)
while (states->shmStates[0] == SharedmemState::Unread)
{
if (rank_ == 0)
if (rank_ == (n - 1))
std::cout << "102" << std::endl;
MPI_Win_sync(win_);}