commit edca8ab11b0f408b9343dbf33cb3eb7f4c337577
parent 1aaa37b35b303f092931bfeedbec20cedd251eae
Author: fundamental <mark.d.mccurry@gmail.com>
Date: Sat, 5 Mar 2016 12:10:27 -0500
FFTWrapper: Fix Compile Issue With GCC 5.3.0
https://github.com/falkTX/Carla/issues/368
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/DSP/FFTwrapper.h b/src/DSP/FFTwrapper.h
@@ -49,10 +49,10 @@ std::complex<_Tp>
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);
}