Explorar el Código

Fix uninitialized variable

Samuel Thibault hace 5 años
padre
commit
cb32c032f8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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