aboutsummaryrefslogtreecommitdiff
path: root/nerv/test/matrix_func.lua
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2016-02-24 16:58:32 +0800
committerDeterminant <ted.sybil@gmail.com>2016-02-24 16:58:32 +0800
commite91fc2ddaa74dd2c46ce93c9e92020d66c037c8e (patch)
tree94165c3c81b1af93e9b77b408372c0d9ff23dd6b /nerv/test/matrix_func.lua
parent9642bd16922b288c81dee25f17373466ae6888c4 (diff)
add CuContext/MContextwrapped-handles
Diffstat (limited to 'nerv/test/matrix_func.lua')
-rw-r--r--nerv/test/matrix_func.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/nerv/test/matrix_func.lua b/nerv/test/matrix_func.lua
index 3750ddd..07ddf9c 100644
--- a/nerv/test/matrix_func.lua
+++ b/nerv/test/matrix_func.lua
@@ -128,7 +128,7 @@ function _test_all_shape(mat_type, m, n, k, fill)
print(a)
b:copy_rows_from_by_idx(a, idx)
b = mat_type(2, m)
- b:copy_rows_from_by_idx(a, idx, 2, 2)
+ b:copy_rows_from_by_idx(a, idx, 2)
print(a)
print(b)
-- test expand_frm