Skip to content

Commit

Permalink
Writing FLO files bug resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
Anurag Ranjan committed Dec 5, 2016
1 parent 1a67cc2 commit a2ea7b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flowExtensions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ end
M.loadFLO = loadFLO

local function writeFLO(filename, F)
F = F:permute(2,3,1)
F = F:permute(2,3,1):clone()
TAG_FLOAT = 202021.25
local ff = torch.DiskFile(filename, 'w'):binary()
ff:writeFloat(TAG_FLOAT)
Expand Down

0 comments on commit a2ea7b6

Please sign in to comment.