From 8889f4a5edad040f47c3fcb717053352ab0d05b8 Mon Sep 17 00:00:00 2001 From: Jorawar Singh Date: Tue, 4 Jul 2017 15:14:46 +0530 Subject: Fixed standalone conversion errors with RPi files --- 2.3-1/src/c/signalProcessing/transforms/dct/cdcta.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to '2.3-1/src/c/signalProcessing/transforms/dct') diff --git a/2.3-1/src/c/signalProcessing/transforms/dct/cdcta.c b/2.3-1/src/c/signalProcessing/transforms/dct/cdcta.c index 5bc27929..7a006a0e 100644 --- a/2.3-1/src/c/signalProcessing/transforms/dct/cdcta.c +++ b/2.3-1/src/c/signalProcessing/transforms/dct/cdcta.c @@ -15,6 +15,7 @@ #include "addition.h" #include "types.h" #include "floatComplex.h" +#include "multiplication.h" /*#include "matrixMultiplication"*/ /*#include */ #include @@ -26,7 +27,7 @@ void cdcta(floatComplex *in,int row,int col,int sign,floatComplex *out) int x,y; float res,ress; float re,z,q,m; - floatComplex accu = DoubleComplex(0, 0); + floatComplex accu = FloatComplex(0, 0); floatComplex temp,mm; if(sign==-1) { @@ -44,7 +45,10 @@ void cdcta(floatComplex *in,int row,int col,int sign,floatComplex *out) for(j=0;j