aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/functors
diff options
context:
space:
mode:
Diffstat (limited to 'Eigen/src/Core/functors')
-rw-r--r--Eigen/src/Core/functors/UnaryFunctors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Eigen/src/Core/functors/UnaryFunctors.h b/Eigen/src/Core/functors/UnaryFunctors.h
index 410cc6f58..a07ddaa30 100644
--- a/Eigen/src/Core/functors/UnaryFunctors.h
+++ b/Eigen/src/Core/functors/UnaryFunctors.h
@@ -924,6 +924,7 @@ struct scalar_logistic_op {
}
};
+#ifndef EIGEN_GPU_COMPILE_PHASE
/** \internal
* \brief Template specialization of the logistic function for float.
*
@@ -1007,6 +1008,7 @@ struct scalar_logistic_op<float> {
}
}
};
+#endif // #ifndef EIGEN_GPU_COMPILE_PHASE
template <typename T>
struct functor_traits<scalar_logistic_op<T> > {