diff options
author | Ivo Danihelka <ivo@danihelka.net> | 2012-10-12 14:16:00 +0400 |
---|---|---|
committer | Ivo Danihelka <ivo@danihelka.net> | 2012-10-12 14:16:00 +0400 |
commit | ffa6395c00d5cf66467733bd0b19364a503704be (patch) | |
tree | 8a853f6faf8097ae62a075fd83125bd84ad2507f /SpatialConvolutionMap.lua | |
parent | 693ef8f04e53c97a6a7c6dcb73db7865f51b0a65 (diff) |
Made the private functions to be local.
Diffstat (limited to 'SpatialConvolutionMap.lua')
-rw-r--r-- | SpatialConvolutionMap.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SpatialConvolutionMap.lua b/SpatialConvolutionMap.lua index 11718fd..4f6609e 100644 --- a/SpatialConvolutionMap.lua +++ b/SpatialConvolutionMap.lua @@ -54,7 +54,7 @@ function nn.tables.random(nin, nout, nto) return tbl end -function constructTableRev(conMatrix) +local function constructTableRev(conMatrix) local conMatrixL = conMatrix:type('torch.LongTensor') -- Construct reverse lookup connection table local thickness = conMatrixL:select(2,2):max() |