mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +08:00
Avoid a potential risk of recursive definition using traits to get he scalar type
This commit is contained in:
parent
8514179aa3
commit
466d6d41c6
@ -49,8 +49,8 @@ template<> struct storage_kind_to_shape<Dense> { typedef DenseShape Shape; };
|
||||
template< typename T,
|
||||
typename LhsKind = typename evaluator_traits<typename T::Lhs>::Kind,
|
||||
typename RhsKind = typename evaluator_traits<typename T::Rhs>::Kind,
|
||||
typename LhsScalar = typename T::Lhs::Scalar,
|
||||
typename RhsScalar = typename T::Rhs::Scalar> struct binary_evaluator;
|
||||
typename LhsScalar = typename traits<typename T::Lhs>::Scalar,
|
||||
typename RhsScalar = typename traits<typename T::Rhs>::Scalar> struct binary_evaluator;
|
||||
|
||||
template< typename T,
|
||||
typename Kind = typename evaluator_traits<typename T::NestedExpression>::Kind,
|
||||
|
Loading…
Reference in New Issue
Block a user