diff --git a/lab10/jacobi/jacobi_mpi.cpp b/lab10/jacobi/jacobi_mpi.cpp index de418a4..5c1adbb 100644 --- a/lab10/jacobi/jacobi_mpi.cpp +++ b/lab10/jacobi/jacobi_mpi.cpp @@ -106,7 +106,7 @@ Jacobi::Result JacobiMPI::run(const Matrix &init, double epsilon, MPI_Request send_lower; std::vector send_vec_up = phi[t0].get_row(rank * numRows); - MPI_Isend(send_vec_up.data()), numCols, MPI_DOUBLE, neighborUpper, 0, + MPI_Isend(send_vec_up.data(), numCols, MPI_DOUBLE, neighborUpper, 0, MPI_COMM_WORLD, &send_upper); std::vector send_vec_low =