diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-06-16 11:20:29 +0000 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-06-16 11:20:29 +0000 |
commit | 9857764ae7f907e5cf441ebf6348f581f874dd00 (patch) | |
tree | b5de343ec7ee3d5a6df1d814897f16f219fb8847 | |
parent | 478bfaf2288fb4994873b0b12191b497d0fa3508 (diff) |
aaargh.
-rw-r--r-- | Eigen/src/Core/Assign.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/Assign.h b/Eigen/src/Core/Assign.h index 5a3fb2260..79993494e 100644 --- a/Eigen/src/Core/Assign.h +++ b/Eigen/src/Core/Assign.h @@ -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) }; |