Revert "debug"

This reverts commit 069b56dac5.
This commit is contained in:
Maarten van Gompel 2014-06-02 14:47:42 +02:00
parent a46eae089f
commit 925000f681
2 changed files with 3 additions and 3 deletions

View File

@ -318,8 +318,8 @@ void Hypothesis::PrintHypothesis() const
TRACE_ERR( "\tunweighted feature scores: " << m_scoreBreakdown << endl);
ScoreComponentCollection parentscorebreakdown = m_prevHypo->getscorebreakdown();
TRACE_ERR( "\tparent feature scores: " << parentscorebreakdown << endl);
//ScoreComponentCollection scorediff = m_scoreBreakdown - parentscorebreakdown;
//TRACE_ERR( "\tdiff feature scores: " << scorediff << endl);
ScoreComponentCollection scorediff = m_scoreBreakdown - parentscorebreakdown;
TRACE_ERR( "\tdiff feature scores: " << scorediff << endl);
//PrintLMScores();
}

View File

@ -91,7 +91,7 @@ protected:
Hypothesis(const Hypothesis &prevHypo, const TranslationOption &transOpt);
public:
ScoreComponentCollection getscorebreakdown() const { return m_scoreBreakdown; }
ScoreComponentCollection getscorebreakdown() { return m_scoreBreakdown; }
static ObjectPool<Hypothesis> &GetObjectPool() {
return s_objectPool;
}