diff --git a/lib/ldpc/dec.c b/lib/ldpc/dec.c index d87f962f4..68029115f 100755 --- a/lib/ldpc/dec.c +++ b/lib/ldpc/dec.c @@ -392,6 +392,7 @@ void ldpc_decode_ ( double lratio[], char decoded[], int *max_iterations, int *n float fac; max_iter=*max_iterations; + srand(-1); for (itry=0; itry< *max_dither; itry++) { for (i=0; i