aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Map.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2008-05-08 08:12:52 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2008-05-08 08:12:52 +0000
commitbf5326c3cad4b92082bb347a09e9a9ab6d50075b (patch)
treef6fb6327510e3053929b310418f9c00e2bba7838 /Eigen/src/Core/Map.h
parent64c49de7baf6b843739b170d61aebc744d943ba9 (diff)
* Added ReferencableBit flag to known if coeffRef is available.
(needed by the new product implementation) * Make the packet* members template to support aligned and unaligned access. This makes Block vectorizable. Combined with ReferencableBit, we should be able to determine at runtime (in some specific cases) if an aligned vectorization is possible or not. * Improved the new product implementation to robustly handle all cases, it now passes all the tests. * Renamed the packet version ei_predux to ei_preduxp to avoid name collision.
Diffstat (limited to 'Eigen/src/Core/Map.h')
-rw-r--r--Eigen/src/Core/Map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/Map.h b/Eigen/src/Core/Map.h
index 266da0cfe..e9f65cd7a 100644
--- a/Eigen/src/Core/Map.h
+++ b/Eigen/src/Core/Map.h
@@ -47,7 +47,7 @@ struct ei_traits<Map<MatrixType> >
ColsAtCompileTime = MatrixType::ColsAtCompileTime,
MaxRowsAtCompileTime = MatrixType::MaxRowsAtCompileTime,
MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime,
- Flags = MatrixType::Flags & DefaultLostFlagMask,
+ Flags = MatrixType::Flags & (DefaultLostFlagMask | ReferencableBit),
CoeffReadCost = NumTraits<Scalar>::ReadCost
};
};