diff --git a/Eigen/src/plugins/ReshapedMethods.h b/Eigen/src/plugins/ReshapedMethods.h index db55cffe7..a7320e2e0 100644 --- a/Eigen/src/plugins/ReshapedMethods.h +++ b/Eigen/src/plugins/ReshapedMethods.h @@ -3,9 +3,9 @@ /// /// \param nRows the number of rows in the reshaped expression, specified at either run-time or compile-time, or AutoSize /// \param nCols the number of columns in the reshaped expression, specified at either run-time or compile-time, or AutoSize -/// \param order specifies whether the coefficients should be processed in column-major-order (ColOrder), in row-major-order (RowOrder), -/// or follows the \em natural order of the nested expression (AutoOrder). The default is ColOrder. /// \tparam NRowsType the type of the value handling the number of rows, typically Index. +/// \tparam Order specifies whether the coefficients should be processed in column-major-order (ColMajor), in row-major-order (RowMajor), +/// or follows the \em natural order of the nested expression (AutoOrder). The default is ColMajor. /// \tparam NColsType the type of the value handling the number of columns, typically Index. /// \tparam OrderType the type of the order /// diff --git a/doc/snippets/MatrixBase_reshaped_auto.cpp b/doc/snippets/MatrixBase_reshaped_auto.cpp index 2adf321f3..59f9d3f60 100644 --- a/doc/snippets/MatrixBase_reshaped_auto.cpp +++ b/doc/snippets/MatrixBase_reshaped_auto.cpp @@ -1,4 +1,4 @@ Matrix4i m = Matrix4i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is m.reshaped(2, AutoSize):" << endl << m.reshaped(2, AutoSize) << endl; -cout << "Here is m.reshaped(AutoSize, fix<8>, RowOrder):" << endl << m.reshaped(AutoSize, fix<8>, RowOrder) << endl; +cout << "Here is m.reshaped(AutoSize, fix<8>):" << endl << m.reshaped(AutoSize, fix<8>) << endl;