From c4277be067d90e74290a116b78e24077eee448d6 Mon Sep 17 00:00:00 2001 From: kai Date: Sun, 1 Jun 2025 12:41:45 +0200 Subject: [PATCH] fix --- lab10/jacobi/jacobi_mpi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 =