From 87df3c495e088bb2c2b463b327763a74047989b2 Mon Sep 17 00:00:00 2001 From: Mohit Khullar Date: Wed, 2 May 2018 13:35:14 -0400 Subject: [PATCH] missing require 'torch' --- tensors/slicing.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tensors/slicing.lua b/tensors/slicing.lua index 31b1b80..016a41a 100644 --- a/tensors/slicing.lua +++ b/tensors/slicing.lua @@ -8,6 +8,10 @@ -- and then press 'y' or 'return' at each step, to keep going. -- little function to pause execution, and request user input +---------------------------------------------------------------------- + +require 'torch' + function next() local answer = nil while answer ~= '' and answer ~= 'y' and answer ~= 'Y' and neverstall ~= true do