aboutsummaryrefslogtreecommitdiff
path: root/matrix/generic/matrix.c
diff options
context:
space:
mode:
authortxh18 <[email protected]>2015-05-27 12:13:01 +0800
committertxh18 <[email protected]>2015-05-27 12:13:01 +0800
commitb9a860c021183d4e8138b5fa8e637414d2e47108 (patch)
tree4b492493c632ebcbf0f7964a6ee330a83cd16042 /matrix/generic/matrix.c
parentc2abcd032e9f64bdbf015567d76edfada55c8866 (diff)
...
Diffstat (limited to 'matrix/generic/matrix.c')
-rw-r--r--matrix/generic/matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/matrix/generic/matrix.c b/matrix/generic/matrix.c
index 74c9f19..d1cde88 100644
--- a/matrix/generic/matrix.c
+++ b/matrix/generic/matrix.c
@@ -77,7 +77,7 @@ static int nerv_matrix_(newindex)(lua_State *L) {
luaL_checknumber(L, 3));
}
else
- nerv_error(L, "cannot assign a scalar to row vector");
+ nerv_error(L, "cannot assign to row vector");
lua_pushboolean(L, 1);
return 2;
}