Remove EIGEN_EMPTY_STRUCT_CTOR

This commit is contained in:
Tobias Schlüter
2022-04-07 09:30:51 +09:00
committed by Rasmus Munk Larsen
parent 5ed7a86ae9
commit f3ba220c5d
15 changed files with 12 additions and 150 deletions

View File

@@ -20,7 +20,6 @@ namespace internal {
*/
template <>
struct scalar_logistic_op<Eigen::half> {
EIGEN_EMPTY_STRUCT_CTOR(scalar_logistic_op)
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
Eigen::half operator()(const Eigen::half& x) const {
// Convert to float and call scalar_logistic_op<float>.