Explorar o código

Fix checking correctness

Samuel Thibault %!s(int64=5) %!d(string=hai) anos
pai
achega
cf28b8739b
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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)