From eabc7a4031cf0f5702fa16009ef33f87c1d51873 Mon Sep 17 00:00:00 2001 From: Justin Carpentier Date: Fri, 10 Aug 2018 14:30:06 +0200 Subject: [PATCH] PR 465: Fix issue in RowMajor assignment in plain_matrix_type_row_major::type The type should be RowMajor --- Eigen/src/Core/util/XprHelper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 struct plain_matrix_type_row_major typedef Matrix::Scalar, Rows, Cols, - (MaxCols==1&&MaxRows!=1) ? RowMajor : ColMajor, + (MaxCols==1&&MaxRows!=1) ? ColMajor : RowMajor, MaxRows, MaxCols > type;