aboutsummaryrefslogtreecommitdiff
path: root/matrix/generic/matrix.c
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2015-05-28 14:09:25 +0800
committerDeterminant <ted.sybil@gmail.com>2015-05-28 14:09:25 +0800
commitfa2ad1f126428adf80aa318cf18694b251a8a710 (patch)
tree5976c5013846b30174aee86b28b8029ea5e6f5ab /matrix/generic/matrix.c
parent9791a4c03cd6ae0f7403daa8f6ba84b6c523c5a7 (diff)
parentba66e109a89d5aff4d709cf0865da60d4d873fee (diff)
Merge branch 'master' of https://github.com/cloudygoose/nerv into cloudygoose-master
Conflicts: examples/cumatrix_from_mmatrix.lua
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;
}