diff --git a/Eigen/src/Core/Matrix.h b/Eigen/src/Core/Matrix.h index 75e2c67b0..baaae57e4 100644 --- a/Eigen/src/Core/Matrix.h +++ b/Eigen/src/Core/Matrix.h @@ -87,7 +87,11 @@ struct ei_traits > ColsAtCompileTime = _Cols, MaxRowsAtCompileTime = _MaxRows, MaxColsAtCompileTime = _MaxCols, - Flags = _Flags, + Flags = ei_corrected_matrix_flags< + _Scalar, + ei_size_at_compile_time<_MaxRows,_MaxCols>::ret, + _Flags + >::ret, CoeffReadCost = NumTraits::ReadCost }; };