浏览代码

Fix uninitialized variable

Samuel Thibault 4 年之前
父节点
当前提交
cb32c032f8
共有 1 个文件被更改,包括 1 次插入1 次删除
  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