mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix a couple of issue with the vectorization. In particular, default ei_p* functions
are provided to handle not suported types seemlessly. Added a generic null-ary expression with null-ary functors. They replace Zero, Ones, Identity and Random.
This commit is contained in:
@@ -47,7 +47,7 @@ struct ei_traits<DiagonalMatrix<CoeffsVectorType> >
|
||||
ColsAtCompileTime = CoeffsVectorType::SizeAtCompileTime,
|
||||
MaxRowsAtCompileTime = CoeffsVectorType::MaxSizeAtCompileTime,
|
||||
MaxColsAtCompileTime = CoeffsVectorType::MaxSizeAtCompileTime,
|
||||
Flags = CoeffsVectorType::Flags & ~VectorizableBit,
|
||||
Flags = CoeffsVectorType::Flags & ~(VectorizableBit | Like1DArrayBit),
|
||||
CoeffReadCost = CoeffsVectorType::CoeffReadCost
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user