From 008d32ccd08581b4ff56b33b69f19d849b49c6e4 Mon Sep 17 00:00:00 2001 From: Determinant Date: Fri, 5 Jun 2015 11:05:55 +0800 Subject: fix #15 --- matrix/generic/matrix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3-70-g09d2