diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-03-19 02:12:23 -0400 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-03-19 02:12:23 -0400 |
commit | 547269da3560518807efe902bce07d22db03e039 (patch) | |
tree | 0977e39381ecb056ddbbd3e34efc76f774df009f /Eigen/src/Core/Map.h | |
parent | 9dba86df0b5c1d28a18666003a10f53e59154904 (diff) |
fix the flags and matrix options, to always have the right RowMajor bit in the vector case
Diffstat (limited to 'Eigen/src/Core/Map.h')
-rw-r--r-- | Eigen/src/Core/Map.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Core/Map.h b/Eigen/src/Core/Map.h index 0608c784f..04d750a80 100644 --- a/Eigen/src/Core/Map.h +++ b/Eigen/src/Core/Map.h @@ -165,8 +165,8 @@ template<typename MatrixType, int Options, typename StrideType> class Map StrideType m_stride; }; -template<typename _Scalar, int _Rows, int _Cols, int _StorageOrder, int _MaxRows, int _MaxCols> -inline Matrix<_Scalar, _Rows, _Cols, _StorageOrder, _MaxRows, _MaxCols> +template<typename _Scalar, int _Rows, int _Cols, int _Options, int _MaxRows, int _MaxCols> +inline Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> ::Matrix(const Scalar *data) { _set_noalias(Eigen::Map<Matrix>(data)); |