ソースを参照

Fix checking correctness

Samuel Thibault 5 年 前
コミット
cf28b8739b
共有1 個のファイルを変更した2 個の追加1 個の削除を含む
  1. 2 1
      mpi/examples/matrix_decomposition/mpi_cholesky.c

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

@@ -70,7 +70,8 @@ int main(int argc, char **argv)
 	matrix_free(&bmat, rank, nodes, 1);
 
 #ifndef STARPU_SIMGRID
-	assert(correctness);
+	if (check)
+		assert(correctness);
 #endif
 
 	if (rank == 0)