No discrimination against systems which don't have a PI define

This commit is contained in:
Robin Gareus 2016-08-27 17:20:27 +02:00
parent f814e68e30
commit 81542d20aa
3 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@
#include "ChangeDetectionFunction.h"
#ifndef PI
#define PI (3.14159265358979232846)
#define PI (3.14159265358979323846)
#endif

View File

@ -19,7 +19,7 @@
#include <iostream>
#ifndef PI
#define PI (3.14159265358979232846)
#define PI (3.14159265358979323846)
#endif
TonalEstimator::TonalEstimator()

View File

@ -24,7 +24,7 @@ typedef complex<double> ComplexData;
#ifndef PI
#define PI (3.14159265358979232846)
#define PI (3.14159265358979323846)
#endif
#define TWO_PI (2. * PI)