diff options
author | Gael Guennebaud <g.gael@free.fr> | 2018-10-03 11:41:47 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2018-10-03 11:41:47 +0200 |
commit | 5f26f57598b4f795cdaf5797fdb33f0e948cc81c (patch) | |
tree | e32a248b84216c0d10db00a6780fa7b164c55870 /doc | |
parent | 0481900e25764f16e8723d2588f818d3a610cfad (diff) |
Change the logic of A.reshaped<Order>() to be a simple alias to A.reshaped<Order>(AutoSize,fix<1>).
This means that now AutoOrder is allowed, and it always return a column-vector.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/snippets/MatrixBase_reshaped_to_vector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/snippets/MatrixBase_reshaped_to_vector.cpp b/doc/snippets/MatrixBase_reshaped_to_vector.cpp index ee844c203..37f65f7c6 100644 --- a/doc/snippets/MatrixBase_reshaped_to_vector.cpp +++ b/doc/snippets/MatrixBase_reshaped_to_vector.cpp @@ -1,4 +1,4 @@ Matrix4i m = Matrix4i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is m.reshaped().transpose():" << endl << m.reshaped().transpose() << endl; -cout << "Here is m.reshaped<RowMajor>(): " << endl << m.reshaped<RowMajor>() << endl; +cout << "Here is m.reshaped<RowMajor>().transpose(): " << endl << m.reshaped<RowMajor>().transpose() << endl; |