From ffa6395c00d5cf66467733bd0b19364a503704be Mon Sep 17 00:00:00 2001 From: Ivo Danihelka Date: Fri, 12 Oct 2012 11:16:00 +0100 Subject: Made the private functions to be local. --- test/test.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/test.lua b/test/test.lua index 7b20bc7..3097431 100644 --- a/test/test.lua +++ b/test/test.lua @@ -795,7 +795,7 @@ function nntest.SpatialConvolutionMap() mytester:asserteq(0, berr, torch.typename(module) .. ' - i/o backward err ') end -function batchcompare(smod, sin, plist) +local function batchcompare(smod, sin, plist) local bs = torch.LongStorage(sin:size():size()+1) bs[1] = 1 for i=1,sin:size():size() do bs[i+1] = sin:size()[i] end -- cgit v1.2.3