diff options
author | Gael Guennebaud <g.gael@free.fr> | 2009-10-23 14:26:14 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2009-10-23 14:26:14 +0200 |
commit | a382963b04d4b847c6b0ef0611511fb6a8e11718 (patch) | |
tree | ad12bedf1d6537b14219889c49b82773a9bc8fab /Eigen/src/Core/StableNorm.h | |
parent | 83a7b7c44c4842e1cfa89179624f4448d39a9e5b (diff) |
* extend Map to allow the user to specify whether the mapped data
is aligned or not. This is done using the Aligned constant:
Map<MatrixType,Aligned>::Map(data);
* rename ForceAligned to EnforceAlignedAccess, and update its doc,
and emphasize this is mainly an internal stuff.
Diffstat (limited to 'Eigen/src/Core/StableNorm.h')
-rw-r--r-- | Eigen/src/Core/StableNorm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/StableNorm.h b/Eigen/src/Core/StableNorm.h index 06e69c448..f2d1e7240 100644 --- a/Eigen/src/Core/StableNorm.h +++ b/Eigen/src/Core/StableNorm.h @@ -59,7 +59,7 @@ MatrixBase<Derived>::stableNorm() const RealScalar invScale = 1; RealScalar ssq = 0; // sum of square enum { - Alignment = (int(Flags)&DirectAccessBit) || (int(Flags)&AlignedBit) ? ForceAligned : AsRequested + Alignment = (int(Flags)&DirectAccessBit) || (int(Flags)&AlignedBit) ? EnforceAlignedAccess : AsRequested }; int n = size(); int bi=0; |