From 95ee6f14aa9a08e337dae6bb26f37219589c57b0 Mon Sep 17 00:00:00 2001 From: bbod Date: Mon, 30 Mar 2020 12:56:35 -0600 Subject: [PATCH] Auto Commit --- HW10/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HW10/main.cpp b/HW10/main.cpp index 2493f58..68d7405 100644 --- a/HW10/main.cpp +++ b/HW10/main.cpp @@ -47,7 +47,7 @@ int main(int argc, char* argv[]) std::cout << "HERE RANK 1" << std::endl; } MPI_Bcast(&flatMatrix[0], flatMatrix.size(), MPI_DOUBLE, 0, MPI_COMM_WORLD); - MPI_Bcast(&serializedCity[0], serializedCity.size(), MPI_INT, 0, MPI_COMM_WORLD); + MPI_Bcast(serializedCity.data(), serializedCity.size(), MPI_INT, 0, MPI_COMM_WORLD); std::cout << "Rank: " << rank << " IM HERE 2" << std::endl; std::vector costs;