diff --git a/Eigen/src/Core/CwiseBinaryOp.h b/Eigen/src/Core/CwiseBinaryOp.h index 4d7ab6598..990c553dd 100644 --- a/Eigen/src/Core/CwiseBinaryOp.h +++ b/Eigen/src/Core/CwiseBinaryOp.h @@ -97,10 +97,10 @@ class CwiseBinaryOp : ei_no_assignment_operator, typename ei_traits::StorageType>::ret>::Base Base; EIGEN_GENERIC_PUBLIC_INTERFACE_NEW(CwiseBinaryOp) - typedef typename ei_traits::LhsNested LhsNested; - typedef typename ei_traits::RhsNested RhsNested; - typedef typename ei_traits::_LhsNested _LhsNested; - typedef typename ei_traits::_RhsNested _RhsNested; + typedef typename ei_nested::type LhsNested; + typedef typename ei_nested::type RhsNested; + typedef typename ei_unref::type _LhsNested; + typedef typename ei_unref::type _RhsNested; EIGEN_STRONG_INLINE CwiseBinaryOp(const Lhs& lhs, const Rhs& rhs, const BinaryOp& func = BinaryOp()) : m_lhs(lhs), m_rhs(rhs), m_functor(func)