No discrimination against systems which don't have a PI define
This commit is contained in:
parent
f814e68e30
commit
81542d20aa
|
@ -16,7 +16,7 @@
|
|||
#include "ChangeDetectionFunction.h"
|
||||
|
||||
#ifndef PI
|
||||
#define PI (3.14159265358979232846)
|
||||
#define PI (3.14159265358979323846)
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#include <iostream>
|
||||
|
||||
#ifndef PI
|
||||
#define PI (3.14159265358979232846)
|
||||
#define PI (3.14159265358979323846)
|
||||
#endif
|
||||
|
||||
TonalEstimator::TonalEstimator()
|
||||
|
|
|
@ -24,7 +24,7 @@ typedef complex<double> ComplexData;
|
|||
|
||||
|
||||
#ifndef PI
|
||||
#define PI (3.14159265358979232846)
|
||||
#define PI (3.14159265358979323846)
|
||||
#endif
|
||||
|
||||
#define TWO_PI (2. * PI)
|
||||
|
|
Loading…
Reference in New Issue