This commit is contained in:
Benoit Jacob 2008-06-16 11:20:29 +00:00
parent 478bfaf228
commit 9857764ae7

View File

@ -73,7 +73,7 @@ public:
private:
enum {
UnrollingLimit = EIGEN_UNROLLING_LIMIT * int(PacketSize),
UnrollingLimit = EIGEN_UNROLLING_LIMIT * (int(Vectorization) == int(NoVectorization) ? 1 : int(PacketSize)),
MayUnrollCompletely = int(Derived::SizeAtCompileTime) * int(OtherDerived::CoeffReadCost) <= int(UnrollingLimit),
MayUnrollInner = int(InnerSize * OtherDerived::CoeffReadCost) <= int(UnrollingLimit)
};