diff options
| author | tony mancill <tmancill@debian.org> | 2023-09-03 19:46:43 -0700 |
|---|---|---|
| committer | tony mancill <tmancill@debian.org> | 2023-09-03 19:46:43 -0700 |
| commit | 393a486ee1d7e308a49f8e0b8c3a4b2f43223248 (patch) | |
| tree | 6a6e8a56ace360795e1cf1a310d5652bb23f1386 /lib/wsprd | |
| parent | 6a285ab382ebff18c88e52bec75dc1773ac33b74 (diff) | |
New upstream version 2.7.0~rc2+repackupstream/2.7.0_rc2+repack
Diffstat (limited to 'lib/wsprd')
| -rwxr-xr-x | lib/wsprd/wsprd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wsprd/wsprd.c b/lib/wsprd/wsprd.c index e0109da8..0f6e903e 100755 --- a/lib/wsprd/wsprd.c +++ b/lib/wsprd/wsprd.c @@ -1165,7 +1165,7 @@ int main(int argc, char *argv[]) for (k=0; k<162; k++) { //Sum over symbols
ifd=ifr+((float)k-81.0)/81.0*( (float)idrift )/(2.0*df);
kindex=k0+2*k;
- if( kindex < nffts ) {
+ if( kindex >= 0 && kindex < nffts ) {
p0=ps[ifd-3][kindex];
p1=ps[ifd-1][kindex];
p2=ps[ifd+1][kindex];
|
