Debugging

git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@40 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
hieuhoang1972 2006-07-10 21:27:24 +00:00
parent 9b0d5e06a3
commit 9d4778441d

View File

@ -96,13 +96,7 @@ void IOCommandLine::SetOutput(const Hypothesis *hypo, long translationId)
if (hypo != NULL)
{
TRACE_ERR("BEST HYPO: " << *hypo << endl);
OutputSurface(cout, hypo);
while (hypo != NULL)
{
TRACE_ERR(*hypo << endl);
hypo = hypo->GetPrevHypo();
}
OutputSurface(cout, hypo);
}
else
TRACE_ERR("NO BEST HYPO" << endl);