Permalink
Browse files

reverse logic on referenced

  • Loading branch information...
koraykv committed Feb 12, 2013
1 parent 60ba9ea commit 70a217749b1747b03cca98fcccd770816dad3dd1
Showing with 1 addition and 1 deletion.
  1. +1 −1 pkg/torch/File.lua
View
@@ -43,7 +43,7 @@ end
function File:referenced(ref)
local env = torch.getenv(self)
- env.force = ref
+ env.force = not ref
torch.setenv(self,env)
return self
end

0 comments on commit 70a2177

Please sign in to comment.