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.cc | |
parent | 9be8d89b5a4065a81b26d8af1f3443d152e7922a (diff) | |
parent | d32361ce37f794ae92f852ae2c7c3e6ef440ff07 (diff) |
Merge pull request #28 from pks/master
fix
Diffstat (limited to 'extractor/sampler.cc')
-rw-r--r-- | extractor/sampler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extractor/sampler.cc b/extractor/sampler.cc index d332dd90..963afa7a 100644 --- a/extractor/sampler.cc +++ b/extractor/sampler.cc @@ -12,7 +12,7 @@ Sampler::Sampler() {} Sampler::~Sampler() {} -PhraseLocation Sampler::Sample(const PhraseLocation& location, unordered_set<int> blacklisted_sentence_ids, const shared_ptr<DataArray> source_data_array) const { +PhraseLocation Sampler::Sample(const PhraseLocation& location, const unordered_set<int>& blacklisted_sentence_ids, const shared_ptr<DataArray> source_data_array) const { vector<int> sample; int num_subpatterns; if (location.matchings == NULL) { |