summaryrefslogtreecommitdiff
path: root/src/signalProcessing/fft/r4tx.c
diff options
context:
space:
mode:
authorsimon2008-09-25 15:38:28 +0000
committersimon2008-09-25 15:38:28 +0000
commit72c4b0080eaf19b562489ea1a96df77a5a6601e3 (patch)
treecf6fce082f4a9fa1269aaf5bb18c4ddcfd7d45ef /src/signalProcessing/fft/r4tx.c
parent64913210fb69211b7ed0fead0a63243561d8ec36 (diff)
downloadscilab2c-72c4b0080eaf19b562489ea1a96df77a5a6601e3.tar.gz
scilab2c-72c4b0080eaf19b562489ea1a96df77a5a6601e3.tar.bz2
scilab2c-72c4b0080eaf19b562489ea1a96df77a5a6601e3.zip
all work now except zfftmaTest4 , but the problem will certainly be less time consuming than the previous ones
Diffstat (limited to 'src/signalProcessing/fft/r4tx.c')
-rw-r--r--src/signalProcessing/fft/r4tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signalProcessing/fft/r4tx.c b/src/signalProcessing/fft/r4tx.c
index c75b5d4e..10bbfe02 100644
--- a/src/signalProcessing/fft/r4tx.c
+++ b/src/signalProcessing/fft/r4tx.c
@@ -24,7 +24,7 @@ void r4tx( int nthpo, doubleComplex* c0, doubleComplex* c1, doubleComplex* c2, d
for(k=1;k<=nthpo;k+=4)
{
- kk = (k-1)*2; /* real and imag parts alternate */
+ kk = k; /* real and imag parts alternate */
temp1 = zadds ( c0[kk] , c2[kk] ) ;