diff options
Diffstat (limited to 'DontCast.lua')
-rw-r--r-- | DontCast.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/DontCast.lua b/DontCast.lua index b89f543..eaa39b6 100644 --- a/DontCast.lua +++ b/DontCast.lua @@ -19,7 +19,7 @@ local function recursiveTypeCopy(dst, src, type_str) end local function tableTensorType(src) - if type(src) == 'table' then + if type(src) == 'table' then -- Note: don't use torch.type here local type_str, found for k,v in pairs(src) do type_str, found = tableTensorType(v) |