aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/reshape.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/reshape.cpp')
-rw-r--r--test/reshape.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/reshape.cpp b/test/reshape.cpp
index 2c241f2fe..14a02bb3b 100644
--- a/test/reshape.cpp
+++ b/test/reshape.cpp
@@ -157,8 +157,9 @@ void reshape4x4(MatType m)
VERIFY_IS_EQUAL(m.reshaped().reshaped(8,2), m.reshaped(8,2));
VERIFY_IS_EQUAL(m.reshaped(), m.template reshaped<ColMajor>());
- VERIFY_IS_EQUAL(m.transpose().reshaped().transpose(), m.template reshaped<RowMajor>());
- VERIFY_IS_EQUAL(m.template reshaped<RowMajor>(fix<1>, AutoSize), m.template reshaped<RowMajor>());
+ VERIFY_IS_EQUAL(m.transpose().reshaped(), m.template reshaped<RowMajor>());
+ VERIFY_IS_EQUAL(m.template reshaped<RowMajor>(AutoSize,fix<1>), m.template reshaped<RowMajor>());
+ VERIFY_IS_EQUAL(m.template reshaped<AutoOrder>(AutoSize,fix<1>), m.template reshaped<AutoOrder>());
VERIFY(is_same_eq(m.reshaped(AutoSize,fix<1>), m.reshaped()));
VERIFY_IS_EQUAL(m.template reshaped<RowMajor>(fix<1>,AutoSize), m.transpose().reshaped().transpose());