mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 19:59:05 +08:00
support gcc 4.5
This commit is contained in:
parent
32f6242b60
commit
4ec99bbc0c
@ -58,10 +58,12 @@ enum { OuterProduct, InnerProduct, UnrolledProduct, GemvProduct, GemmProduct };
|
|||||||
|
|
||||||
template<typename Lhs, typename Rhs> struct ei_product_type
|
template<typename Lhs, typename Rhs> struct ei_product_type
|
||||||
{
|
{
|
||||||
|
typedef typename ei_cleantype<Lhs>::type _Lhs;
|
||||||
|
typedef typename ei_cleantype<Rhs>::type _Rhs;
|
||||||
enum {
|
enum {
|
||||||
Rows = Lhs::RowsAtCompileTime,
|
Rows = _Lhs::RowsAtCompileTime,
|
||||||
Cols = Rhs::ColsAtCompileTime,
|
Cols = _Rhs::ColsAtCompileTime,
|
||||||
Depth = EIGEN_ENUM_MIN(Lhs::ColsAtCompileTime,Rhs::RowsAtCompileTime)
|
Depth = EIGEN_ENUM_MIN(_Lhs::ColsAtCompileTime,_Rhs::RowsAtCompileTime)
|
||||||
};
|
};
|
||||||
|
|
||||||
// the splitting into different lines of code here, introducing the _select enums and the typedef below,
|
// the splitting into different lines of code here, introducing the _select enums and the typedef below,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user