torch/torch7 — pull request #7 by d11 (2014-02-21 11:58:29+00:00)
Title: Add argcheck for indexing into tensor with a table

We check that the number of indices provided is
not greater than the number of dimensions.

This is done for both __index__ and __newindex__.

Also added unit tests for index lookup and index
assignment.