Skip to content

Commit

Permalink
Fixes piskvorky#1401 , IS_SINGLE function updated
Browse files Browse the repository at this point in the history
  • Loading branch information
sj29-innovate committed Jan 31, 2018
1 parent f23ef6a commit dfdd16e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gensim/models/phrases.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def _is_single(obj):
return True, obj_iter
if temp_iter == obj:
# Checking for iterator to the object
return False, obj_iter
return False, obj_iter
else:
# If the first item isn't a string, assume obj is a corpus
return False, obj
Expand Down

0 comments on commit dfdd16e

Please sign in to comment.