Browse Source

init vector d

pre-master-46
dwarning 17 years ago
parent
commit
322e87d9d0
  1. 2
      src/maths/cmaths/cmath2.c

2
src/maths/cmaths/cmath2.c

@ -251,7 +251,7 @@ void
*cx_avg(void *data, short int type, int length, int *newlength, short int *newtype, ...) *cx_avg(void *data, short int type, int length, int *newlength, short int *newtype, ...)
{ {
complex *c; complex *c;
double *d, sum_real = 0.0,sum_imag = 0.0;
double *d = NULL, sum_real = 0.0,sum_imag = 0.0;
complex *cc = (complex *) data; complex *cc = (complex *) data;
double *dd = (double *) data; double *dd = (double *) data;
int i; int i;

Loading…
Cancel
Save