Revert "cleanup"

This reverts commit 587c1a9f54.
This commit is contained in:
Hieu Hoang 2016-02-18 10:46:08 -05:00
parent 50abed8499
commit 3767d161c1

View File

@ -206,8 +206,9 @@ void KENLM::EvaluateWhenApplied(const Manager &mgr,
const std::size_t adjust_end = std::min(end, begin + m_ngram->Order() - 1);
std::size_t position = begin;
typename Model::State aux_state;
const Model::State *state0 = stateCast.state;
const Model::State *state1;
const Model::State *state1 = &aux_state;
const LMCacheValue &val = ScoreAndCache(mgr, *in_state, TranslateID(hypo.GetWord(position)));
float score = val.first;