mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-03 21:40:52 -05:00 
			
		
		
		
	Always start with srand(-1) in ldpc_decode().
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6724 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
		
							parent
							
								
									a2cbb623aa
								
							
						
					
					
						commit
						a3c5a172bc
					
				@ -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<N; i++) {
 | 
			
		||||
       if( itry == 0 ) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user