From 5f26f57598b4f795cdaf5797fdb33f0e948cc81c Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 3 Oct 2018 11:41:47 +0200 Subject: Change the logic of A.reshaped() to be a simple alias to A.reshaped(AutoSize,fix<1>). This means that now AutoOrder is allowed, and it always return a column-vector. --- doc/snippets/MatrixBase_reshaped_to_vector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/snippets') 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(): " << endl << m.reshaped() << endl; +cout << "Here is m.reshaped().transpose(): " << endl << m.reshaped().transpose() << endl; -- cgit v1.2.3