Permalink
Browse files

* Fixed major issue in how the Lua API handles matrix.

  • Loading branch information...
bobbens committed Jun 27, 2011
1 parent aa3f2cb commit 81a24c4584d413abc0cc90d97833b8eb9e1bfd76
Showing with 1 addition and 1 deletion.
  1. +1 −1 luarocks/luadq.c
View
@@ -178,7 +178,7 @@ static int luaL_checkmatrix( lua_State *L, double *M, int rows, int columns, int
/* Process row. */
for (j=0; j<columns; j++) {
TBL_GETNUM( L, M[i*rows+j], j+1, -1 );
TBL_GETNUM( L, M[i*rows+j], j+1, -2 );
}
/* Clean up. */

0 comments on commit 81a24c4

Please sign in to comment.