Browse Source

fix type of length in fft window function

pre-master-46
dwarning 13 years ago
committed by rlar
parent
commit
0b1bff9fd8
  1. 2
      src/include/ngspice/fftext.h
  2. 2
      src/maths/fft/fftext.c

2
src/include/ngspice/fftext.h

@ -20,7 +20,7 @@ void fftFree(void);
// release storage for all private cosine and bit reversed tables
int
fft_windows(char *window, double *win, double *time, double length, double maxt, double span, int order);
fft_windows(char *window, double *win, double *time, int length, double maxt, double span, int order);
// computes some popular window functions
void ffts(double *data, int M, int Rows);

2
src/maths/fft/fftext.c

@ -93,7 +93,7 @@ void fftFree(void)
}
int
fft_windows(char *window, double *win, double *time, double length, double maxt, double span, int order)
fft_windows(char *window, double *win, double *time, int length, double maxt, double span, int order)
{
int i;
double sigma, scale;

Loading…
Cancel
Save