From e91fc2ddaa74dd2c46ce93c9e92020d66c037c8e Mon Sep 17 00:00:00 2001 From: Determinant Date: Wed, 24 Feb 2016 16:58:32 +0800 Subject: add CuContext/MContext --- nerv/test/matrix_func.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nerv/test/matrix_func.lua') 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 -- cgit v1.2.3