diff options
author | Patrick Simianer <p@simianer.de> | 2013-11-13 20:27:52 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2013-11-13 20:27:52 +0100 |
commit | d32361ce37f794ae92f852ae2c7c3e6ef440ff07 (patch) | |
tree | 1faba46366e929aec478e868efa77c113421637f /extractor/sampler.cc | |
parent | 4a9449a564e626fe004200b730bfaa44d6152e0f (diff) |
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) { |