Skip to content

Commit

Permalink
Update Recurrence.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholas-leonard committed Mar 17, 2016
1 parent 7d2afd2 commit e77fe74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Recurrence.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function Recurrence:getBatchSize(input, nInputDim)
else
assert(torch.isTensor(input))
if input:dim() == nInputDim then
return il
return nil
elseif input:dim() - 1 == nInputDim then
return input:size(1)
else
Expand Down

0 comments on commit e77fe74

Please sign in to comment.