Skip to content

Commit

Permalink
Update classview.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholas-leonard committed Jul 11, 2016
1 parent e2e4eb9 commit 8f4c3a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view/classview.lua
Expand Up @@ -28,7 +28,7 @@ function ClassView:bt()
if b_pos ~= 1 then
modula = nn.Transpose({1, b_pos})
end
if view ~= 'bt' or view ~= 'tb' then
if view ~= 'bt' and view ~= 'tb' then
error("cannot convert view '"..view.."' to bt")
end
return modula or nn.Identity()
Expand Down

0 comments on commit 8f4c3a3

Please sign in to comment.