aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
{