소스 검색

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)