b80fda9067
+ Add dependency mxml-2.9 (Minimal XML library)
15 lines
494 B
Diff
15 lines
494 B
Diff
--- src/DSP/FFTwrapper.h 2015-06-28 00:25:59.000000000 +0200
|
|
+++ src/DSP/FFTwrapper.h 2015-10-03 16:51:40.456350543 +0200
|
|
@@ -58,10 +58,10 @@
|
|
FFTpolar(const _Tp& __rho, const _Tp& __theta = _Tp(0))
|
|
{
|
|
_Tp __x = __rho * cos(__theta);
|
|
- if (isnan(__x))
|
|
+ if (std::isnan(__x))
|
|
__x = 0;
|
|
_Tp __y = __rho * sin(__theta);
|
|
- if (isnan(__y))
|
|
+ if (std::isnan(__y))
|
|
__y = 0;
|
|
return std::complex<_Tp>(__x, __y);
|
|
}
|