aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/snippets/MatrixBase_reshaped_auto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/snippets/MatrixBase_reshaped_auto.cpp')
-rw-r--r--doc/snippets/MatrixBase_reshaped_auto.cpp2
1 files changed, 1 insertions, 1 deletions
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<RowMajor>(AutoSize, fix<8>):" << endl << m.reshaped<RowMajor>(AutoSize, fix<8>) << endl;