diff options
Diffstat (limited to 'dtrain/kbestget.h')
-rw-r--r-- | dtrain/kbestget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dtrain/kbestget.h b/dtrain/kbestget.h index 0c2da994..bcd82610 100644 --- a/dtrain/kbestget.h +++ b/dtrain/kbestget.h @@ -59,7 +59,7 @@ struct HypSampler : public DecoderObserver vector<WordID>* ref_; virtual vector<ScoredHyp>* GetSamples()=0; inline void SetScorer(LocalScorer* scorer) { scorer_ = scorer; } - inline void SetRef(vector<WordID>& ref) { ref_ = &ref; } + inline void SetRef(vector<WordID>& ref) { ref_ = &ref; } }; //////////////////////////////////////////////////////////////////////////////// |