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.
This commit is contained in:
Gael Guennebaud
2018-10-03 11:41:47 +02:00
parent 0481900e25
commit 5f26f57598
4 changed files with 19 additions and 27 deletions

View File

@@ -125,7 +125,7 @@ template<typename XprType, int Rows, int Cols, int Order> class Reshaped
}
};
// The generic default implementation for dense reshape simplu forward to the internal::ReshapedImpl_dense
// The generic default implementation for dense reshape simply forward to the internal::ReshapedImpl_dense
// that must be specialized for direct and non-direct access...
template<typename XprType, int Rows, int Cols, int Order>
class ReshapedImpl<XprType, Rows, Cols, Order, Dense>