diff options
author | Soumith Chintala <soumith@gmail.com> | 2016-02-06 19:16:07 +0300 |
---|---|---|
committer | Soumith Chintala <soumith@gmail.com> | 2016-02-06 19:16:07 +0300 |
commit | f2d2f1ad40d5dc695d75c4ef2edd36142d319e49 (patch) | |
tree | 88e5c0ff7e7551da9b4c2ef43c50b3301de3d96e | |
parent | 1ae1458706758122c1358193bd2945e31bddc62c (diff) | |
parent | ee99fc4446edbdfd7ca72853cec9154d760c5ecb (diff) |
Merge pull request #47 from vsergeev/fix-running-torch-less
Fix running in torch-less env with stub for torch.setheaptracking()
-rw-r--r-- | init.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -132,7 +132,8 @@ local selfhelp = [[ -- If no Torch: if not torch then torch = { - typename = function() return '' end + typename = function() return '' end, + setheaptracking = function() end } end |