diff options
author | Chris Dyer <redpony@gmail.com> | 2013-11-13 11:34:59 -0800 |
---|---|---|
committer | Chris Dyer <redpony@gmail.com> | 2013-11-13 11:34:59 -0800 |
commit | 9972fc6db6bd816f464dff90741c36f6be137f96 (patch) | |
tree | 1faba46366e929aec478e868efa77c113421637f /extractor/sampler.h | |
parent | 9be8d89b5a4065a81b26d8af1f3443d152e7922a (diff) | |
parent | d32361ce37f794ae92f852ae2c7c3e6ef440ff07 (diff) |
Merge pull request #28 from pks/master
fix
Diffstat (limited to 'extractor/sampler.h')
-rw-r--r-- | extractor/sampler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extractor/sampler.h b/extractor/sampler.h index 30e747fd..de450c48 100644 --- a/extractor/sampler.h +++ b/extractor/sampler.h @@ -23,7 +23,7 @@ class Sampler { virtual ~Sampler(); // Samples uniformly at most max_samples phrase occurrences. - virtual PhraseLocation Sample(const PhraseLocation& location, const unordered_set<int> blacklisted_sentence_ids, const shared_ptr<DataArray> source_data_array) const; + virtual PhraseLocation Sample(const PhraseLocation& location, const unordered_set<int>& blacklisted_sentence_ids, const shared_ptr<DataArray> source_data_array) const; protected: Sampler(); |