aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Justin Carpentier <jcarpent@laas.fr>2018-08-10 14:30:06 +0200
committerGravatar Justin Carpentier <jcarpent@laas.fr>2018-08-10 14:30:06 +0200
commiteabc7a4031cf0f5702fa16009ef33f87c1d51873 (patch)
tree913e465f098e13248345c6257e0f72784c20615b
parentc49e93440f85462728975b330e6534aeb37aa2d0 (diff)
PR 465: Fix issue in RowMajor assignment in plain_matrix_type_row_major::type
The type should be RowMajor
-rw-r--r--Eigen/src/Core/util/XprHelper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h
index e3231c712..836ff4711 100644
--- a/Eigen/src/Core/util/XprHelper.h
+++ b/Eigen/src/Core/util/XprHelper.h
@@ -405,7 +405,7 @@ template<typename T> struct plain_matrix_type_row_major
typedef Matrix<typename traits<T>::Scalar,
Rows,
Cols,
- (MaxCols==1&&MaxRows!=1) ? RowMajor : ColMajor,
+ (MaxCols==1&&MaxRows!=1) ? ColMajor : RowMajor,
MaxRows,
MaxCols
> type;