diff --git a/Eigen/src/Core/functors/UnaryFunctors.h b/Eigen/src/Core/functors/UnaryFunctors.h index 4447b82f7..2f9b920d6 100644 --- a/Eigen/src/Core/functors/UnaryFunctors.h +++ b/Eigen/src/Core/functors/UnaryFunctors.h @@ -1126,7 +1126,7 @@ struct scalar_logistic_op : scalar_logistic_op_impl {}; // TODO(rmlarsen): Enable the following on host when integer_packet is defined // for the relevant packet types. -#ifdef EIGEN_GPU_CC +#ifndef EIGEN_GPUCC /** \internal * \brief Template specialization of the logistic function for float.