summaryrefslogtreecommitdiff
path: root/src/signalProcessing/fft/r4tx.c
diff options
context:
space:
mode:
authorsimon2008-09-26 11:39:49 +0000
committersimon2008-09-26 11:39:49 +0000
commit13381564d0570ccc23df6d042a613f4f025edc67 (patch)
treec93d527ff447cc84ccbed8fd4336be5ce24a8018 /src/signalProcessing/fft/r4tx.c
parent9efc2ee1a7e5373e0e5504eb2cf23ebdd3eb2233 (diff)
downloadscilab2c-13381564d0570ccc23df6d042a613f4f025edc67.tar.gz
scilab2c-13381564d0570ccc23df6d042a613f4f025edc67.tar.bz2
scilab2c-13381564d0570ccc23df6d042a613f4f025edc67.zip
corrected all tests for fft842 everything ok for that function,now time to see the general function
Diffstat (limited to 'src/signalProcessing/fft/r4tx.c')
-rw-r--r--src/signalProcessing/fft/r4tx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/signalProcessing/fft/r4tx.c b/src/signalProcessing/fft/r4tx.c
index e923d338..f7b6400d 100644
--- a/src/signalProcessing/fft/r4tx.c
+++ b/src/signalProcessing/fft/r4tx.c
@@ -19,12 +19,12 @@
*/
void r4tx( int nthpo, doubleComplex* c0, doubleComplex* c1, doubleComplex* c2, doubleComplex* c3)
{
- int k,kk;
+ int kk;
doubleComplex temp1 , temp2 , temp3 , temp4 ;
- for(k=1;k<=nthpo;k+=4)
+ for(kk=0;kk<nthpo;kk+=4)
{
- kk = k -1; /* real and imag parts alternate */
+ /* real and imag parts alternate */
temp1 = zadds ( c0[kk] , c2[kk] ) ;