aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/reshape.cpp
diff options
context:
space:
mode:
authorGravatar yoco <peter.xiau@gmail.com>2014-01-20 01:43:28 +0800
committerGravatar yoco <peter.xiau@gmail.com>2014-01-20 01:43:28 +0800
commit2b8908090321e599874f95886a56f523abf06718 (patch)
treea0ba8ee38644416f88747c7ddf271a0503a0e533 /test/reshape.cpp
parent03723abda059a1a7f44907a543df248cf7e46104 (diff)
Remove reshape InnerPanel, add test, fix bug
Diffstat (limited to 'test/reshape.cpp')
-rw-r--r--test/reshape.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/reshape.cpp b/test/reshape.cpp
index 2aef066aa..053ece14d 100644
--- a/test/reshape.cpp
+++ b/test/reshape.cpp
@@ -53,6 +53,8 @@ void test_reshape()
}
}
+ mx.reshape(8, 2).leftCols(2);
+
// test dynamic-size matrix
CALL_SUBTEST(dynamic_reshape_all_size(mx, 4, 4));
CALL_SUBTEST(static_reshape_all_size(mx));