andresy/torch — pull request #41 by fidlej (2012-08-07 15:53:28+00:00)
Title: Printing of nil values

I found that torch print() is not printing anything after a nil argument.
Example:
print(1, nil, 2)

output: 1
expected output: 1 nil 2

I fixed the detecting of the end of args in print().
I also improved the speed of print() a bit.
The changes are small.