mborgerding / kissfft

a Fast Fourier Transform (FFT) library that tries to Keep it Simple, Stupid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typo in testcpp.cc

dsego opened this issue · comments

Is this a typo? When I change to M_PI the build works, otherwise I get a build error.

long double phinc = 2*k0* M_PIl / nfft;

The error:

[ 96%] Building CXX object test/CMakeFiles/testcpp.dir/testcpp.cc.o
/Users/davorin/Code/projects/fft/kissfft/test/testcpp.cc:46:35: error: use of undeclared identifier 'M_PIl'; did you mean 'P_PID'?
        long double phinc = 2*k0* M_PIl / nfft;
                                  ^~~~~
                                  P_PID