From d5d7820830c2a2beda775a674f39fc8506f8a8f6 Mon Sep 17 00:00:00 2001 From: "philblunsom@gmail.com" Date: Fri, 16 Jul 2010 04:50:35 +0000 Subject: working on mpi implementation. git-svn-id: https://ws10smt.googlecode.com/svn/trunk@283 ec762483-ff6d-05da-a07a-a48fb63a330f --- gi/pyp-topics/src/contexts_corpus.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gi/pyp-topics/src/contexts_corpus.hh') diff --git a/gi/pyp-topics/src/contexts_corpus.hh b/gi/pyp-topics/src/contexts_corpus.hh index 66b71783..4d3d5669 100644 --- a/gi/pyp-topics/src/contexts_corpus.hh +++ b/gi/pyp-topics/src/contexts_corpus.hh @@ -63,6 +63,8 @@ public: std::vector context2string(const WordID& id) const { std::vector res; + assert (id >= 0); + std::cerr << m_dict.Convert(id) << std::endl; m_dict.AsVector(id, &res); return res; } -- cgit v1.2.3