aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-06-16 11:20:29 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-06-16 11:20:29 +0000
commit9857764ae7f907e5cf441ebf6348f581f874dd00 (patch)
treeb5de343ec7ee3d5a6df1d814897f16f219fb8847
parent478bfaf2288fb4994873b0b12191b497d0fa3508 (diff)
aaargh.
-rw-r--r--Eigen/src/Core/Assign.h2
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)
};