Browse Source

Fix uninitialized variable

Samuel Thibault 4 years ago
parent
commit
cb32c032f8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mpi/examples/matrix_decomposition/mpi_cholesky.c

+ 1 - 1
mpi/examples/matrix_decomposition/mpi_cholesky.c

@@ -68,7 +68,7 @@ int main(int argc, char **argv)
 	starpu_mpi_shutdown();
 
 #ifndef STARPU_SIMGRID
-	if (check)
+	if (check && rank == 0)
 		assert(correctness);
 #endif