From 45f960649b85d4bc98d0f03bf7d3e397815b4748 Mon Sep 17 00:00:00 2001 From: bbod Date: Sun, 29 Mar 2020 20:20:57 -0600 Subject: [PATCH] t --- HW10/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HW10/main.cpp b/HW10/main.cpp index 6730dc5..cdd22a4 100644 --- a/HW10/main.cpp +++ b/HW10/main.cpp @@ -41,8 +41,8 @@ int main(int argc, char* argv[]) std::cout << "before bcast" << std::endl; MPI_Bcast(&flatMatrix, flatMatrix.size(), MPI_DOUBLE, 0, MPI_COMM_WORLD); if(rank){ - std::cout << "after bcast" << std::endl; matrix = matrixTools::UnflattenMatrix(flatMatrix, citiesSize, citiesSize); + std::cout << "after unflatten" << std::endl; std::cout << "Process "<< rank << " has value " << citiesSize << " as size of city" << std::endl; for(int i = 0; i < citiesSize; i++) { for (int j = 0; j < citiesSize; j++) {