mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-08 22:21:49 +08:00
bug #1351: fix compilation of random with old compilers
(grafted from ab4ef5e66e33dd585bed2207c7c53948e30b2875 )
This commit is contained in:
parent
400d756b82
commit
1cd1a96d56
@ -173,6 +173,13 @@ template<typename Scalar, typename PacketType,typename IndexType>
|
|||||||
struct has_unary_operator<linspaced_op<Scalar,PacketType>,IndexType> { enum { value = 1}; };
|
struct has_unary_operator<linspaced_op<Scalar,PacketType>,IndexType> { enum { value = 1}; };
|
||||||
template<typename Scalar, typename PacketType,typename IndexType>
|
template<typename Scalar, typename PacketType,typename IndexType>
|
||||||
struct has_binary_operator<linspaced_op<Scalar,PacketType>,IndexType> { enum { value = 0}; };
|
struct has_binary_operator<linspaced_op<Scalar,PacketType>,IndexType> { enum { value = 0}; };
|
||||||
|
|
||||||
|
template<typename Scalar,typename IndexType>
|
||||||
|
struct has_nullary_operator<scalar_random_op<Scalar>,IndexType> { enum { value = 1}; };
|
||||||
|
template<typename Scalar,typename IndexType>
|
||||||
|
struct has_unary_operator<scalar_random_op<Scalar>,IndexType> { enum { value = 0}; };
|
||||||
|
template<typename Scalar,typename IndexType>
|
||||||
|
struct has_binary_operator<scalar_random_op<Scalar>,IndexType> { enum { value = 0}; };
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
} // end namespace internal
|
} // end namespace internal
|
||||||
|
Loading…
x
Reference in New Issue
Block a user