aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/util/Constants.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2008-08-09 21:57:50 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2008-08-09 21:57:50 +0000
commit55e8d670ce206ea91aed5520688442ee6fed0fd2 (patch)
treea9746894658200f41e4ab80fc64b980081566a05 /Eigen/src/Core/util/Constants.h
parentb13148c3588c2be8805630c117cdc2b4cfb00576 (diff)
Renamed allowAligned() => forceAligned() and added the constants ForceAligned
and AsRequested for the PacketAccess parameter of MapBase. Updated respective documentation.
Diffstat (limited to 'Eigen/src/Core/util/Constants.h')
-rw-r--r--Eigen/src/Core/util/Constants.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/Constants.h b/Eigen/src/Core/util/Constants.h
index ea3994544..2885a41fc 100644
--- a/Eigen/src/Core/util/Constants.h
+++ b/Eigen/src/Core/util/Constants.h
@@ -180,7 +180,8 @@ const unsigned int UnitUpper = UpperTriangularBit | UnitDiagBit;
const unsigned int UnitLower = LowerTriangularBit | UnitDiagBit;
const unsigned int Diagonal = Upper | Lower;
-enum { Aligned=0, Unaligned=1, Unknown=2 };
+enum { Aligned, Unaligned };
+enum { ForceAligned, AsRequested };
enum { ConditionalJumpCost = 5 };
enum CornerType { TopLeft, TopRight, BottomLeft, BottomRight };
enum DirectionType { Vertical, Horizontal };