diff options
author | Gael Guennebaud <g.gael@free.fr> | 2014-06-06 11:02:20 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2014-06-06 11:02:20 +0200 |
commit | ed37c44765b4401629281a1ea7ae223cddf91fde (patch) | |
tree | 25e8cd2dbcef31ad5ddc62192ba936cdb26d8211 /Eigen/src/Geometry | |
parent | 96cb58fa3b83448fcb2af2d131434a7ac10b915c (diff) |
Enable LinearAccessBit in Block expression for inner-panels
Diffstat (limited to 'Eigen/src/Geometry')
-rw-r--r-- | Eigen/src/Geometry/Transform.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Geometry/Transform.h b/Eigen/src/Geometry/Transform.h index f40644011..cb93acf6b 100644 --- a/Eigen/src/Geometry/Transform.h +++ b/Eigen/src/Geometry/Transform.h @@ -194,9 +194,9 @@ public: /** type of the matrix used to represent the linear part of the transformation */ typedef Matrix<Scalar,Dim,Dim,Options> LinearMatrixType; /** type of read/write reference to the linear part of the transformation */ - typedef Block<MatrixType,Dim,Dim,int(Mode)==(AffineCompact)> LinearPart; + typedef Block<MatrixType,Dim,Dim,int(Mode)==(AffineCompact) && (Options&RowMajor)==0> LinearPart; /** type of read reference to the linear part of the transformation */ - typedef const Block<ConstMatrixType,Dim,Dim,int(Mode)==(AffineCompact)> ConstLinearPart; + typedef const Block<ConstMatrixType,Dim,Dim,int(Mode)==(AffineCompact) && (Options&RowMajor)==0> ConstLinearPart; /** type of read/write reference to the affine part of the transformation */ typedef typename internal::conditional<int(Mode)==int(AffineCompact), MatrixType&, |