diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2011-07-05 23:19:43 -0400 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2011-07-05 23:19:43 -0400 |
commit | f91319978f6e74e5c4e5701da8fbbacb96a3161e (patch) | |
tree | 65be0b73c4419cf909e3cf9cbc4a37eb1a8e0bff /utils | |
parent | 9366fc1ce04385290722bd703933bf0c1c166671 (diff) |
fast phrasinator that uses DPs instead of PYPs
Diffstat (limited to 'utils')
-rw-r--r-- | utils/sampler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/sampler.h b/utils/sampler.h index a14f6e2f..153e7ef1 100644 --- a/utils/sampler.h +++ b/utils/sampler.h @@ -105,7 +105,7 @@ class SampleSet { const F& operator[](int i) const { return m_scores[i]; } F& operator[](int i) { return m_scores[i]; } bool empty() const { return m_scores.empty(); } - void add(const prob_t& s) { m_scores.push_back(s); } + void add(const F& s) { m_scores.push_back(s); } void clear() { m_scores.clear(); } size_t size() const { return m_scores.size(); } void resize(int size) { m_scores.resize(size); } |