summaryrefslogtreecommitdiff
path: root/matrix
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-06-05 11:05:55 +0800
committerDeterminant <[email protected]>2015-06-05 11:05:55 +0800
commit008d32ccd08581b4ff56b33b69f19d849b49c6e4 (patch)
tree6c64dd17f8a13f131327285022d1cdbd2b3925eb /matrix
parent64194d52b8a90c217949561856c5ac959601226d (diff)
fix #15
Diffstat (limited to 'matrix')
-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 a0f9ecf..d6b0aea 100644
--- a/matrix/generic/matrix.c
+++ b/matrix/generic/matrix.c
@@ -76,7 +76,7 @@ static int nerv_matrix_(newindex)(lua_State *L) {
else
nerv_error(L, "cannot assign to row vector");
lua_pushboolean(L, 1);
- return 2;
+ return 1;
}
else
{