mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-03 13:30:52 -05:00 
			
		
		
		
	Guard against bounds error in candidate array.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7765 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
		
							parent
							
								
									020e5e770e
								
							
						
					
					
						commit
						f4b58c869b
					
				@ -89,7 +89,7 @@ subroutine sync8(iwave,nfa,nfb,nfqso,s,candidate,ncand)
 | 
				
			|||||||
     candidate0(2,k)=(jpeak(n)-1)*tstep
 | 
					     candidate0(2,k)=(jpeak(n)-1)*tstep
 | 
				
			||||||
     candidate0(3,k)=red(n)
 | 
					     candidate0(3,k)=red(n)
 | 
				
			||||||
  enddo
 | 
					  enddo
 | 
				
			||||||
  ncand=k
 | 
					  ncand=min(100,k)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
! Put nfqso at top of list, and save only the best of near-dupe freqs.  
 | 
					! Put nfqso at top of list, and save only the best of near-dupe freqs.  
 | 
				
			||||||
  do i=1,ncand
 | 
					  do i=1,ncand
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user