Removed redundant multiplication from Threshold.c
Merge pull request #59 from jonathantompson/threshold_fix

Removed redundant multiplication from Threshold.c
getParameters can return an empty tensor

If parameters() is not defined or returns an empty table, the method
getParameters() will return an empty tensor.
Merge pull request #60 from sergomezcol/master

getParameters can return an empty tensor
Check that a module is typed to non-nil
Merge pull request #63 from jameskirkpatrick/topic_typeModule

Check that a module is typed to non-nil
Fix contiguous loop for tanh and hardtanh
Merge pull request #64 from torch/stride_fix

Fix contiguous loop for tanh and hardtanh
Missed x?

`if  < -lambda`  to  `if x < -lambda`
Merge pull request #65 from Grisson/patch-1

Missed x?
[travis] clang->gcc
Give better error messages when trying to use the wrong kind of Tensor.
Merge pull request #66 from timharley/master

Give better error messages when trying to use the wrong kind of Tensor.
Fix DotProduct example error

missing "{" "}".
x=torch.Tensor(1,2,3)  => x=torch.Tensor({1,2,3}) 
y=torch.Tensor(4,5,6)  => y=torch.Tensor({4,5,6})
Merge pull request #67 from Grisson/patch-2

Fix DotProduct example error