Clean some previous changes and more cuda fixes

This commit is contained in:
Gael Guennebaud
2015-07-15 10:57:55 +02:00
parent 7cecd39a84
commit f5aa640862
8 changed files with 20 additions and 22 deletions

View File

@@ -794,7 +794,6 @@ bool (isfinite)(const T& x)
#endif
}
#ifndef __CUDACC__
template<typename T>
bool (isfinite)(const std::complex<T>& x)
{
@@ -812,7 +811,6 @@ bool (isinf)(const std::complex<T>& x)
{
return (numext::isinf(numext::real(x)) || numext::isinf(numext::imag(x))) && (!numext::isnan(x));
}
#endif
template<typename T>
EIGEN_DEVICE_FUNC