From abf2311a2665097de2fd27fb83e1acbbe2a26f59 Mon Sep 17 00:00:00 2001 From: philblunsom Date: Sun, 25 Jul 2010 02:11:28 +0000 Subject: added missing file. git-svn-id: https://ws10smt.googlecode.com/svn/trunk@402 ec762483-ff6d-05da-a07a-a48fb63a330f --- gi/pyp-topics/src/mpi-pyp-topics.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gi/pyp-topics/src/mpi-pyp-topics.cc') diff --git a/gi/pyp-topics/src/mpi-pyp-topics.cc b/gi/pyp-topics/src/mpi-pyp-topics.cc index 967c3a77..d6e22af6 100644 --- a/gi/pyp-topics/src/mpi-pyp-topics.cc +++ b/gi/pyp-topics/src/mpi-pyp-topics.cc @@ -77,7 +77,7 @@ void MPIPYPTopics::sample_corpus(const MPICorpus& corpus, int samples, int new_topic = -1; if (freq > frequency_cutoff && (!max_contexts_per_document || term_index < max_contexts_per_document)) { - new_topic = sample(document_id, term); + new_topic = sample(i, term); //new_topic = document_id % m_num_topics; // add the new topic to the PYPs -- cgit v1.2.3