Skip to content

Commit

Permalink
Remove unnecessary assert blocking direct usage of CSC for LSI (piskv…
Browse files Browse the repository at this point in the history
  • Loading branch information
isamaru authored and horpto committed Oct 28, 2017
1 parent 059bee8 commit 41a37d0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gensim/models/lsimodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,6 @@ def add_documents(self, corpus, chunksize=None, decay=None):
self.docs_processed += doc_no
else:
assert not self.dispatcher, "must be in serial mode to receive jobs"
assert self.onepass, "distributed two-pass algo not supported yet"
update = Projection(
self.num_terms, self.num_topics, corpus.tocsc(), extra_dims=self.extra_samples,
power_iters=self.power_iters, dtype=self.dtype
Expand Down

0 comments on commit 41a37d0

Please sign in to comment.