summaryrefslogtreecommitdiff
path: root/extractor/sampler.cc
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2013-11-13 20:27:52 +0100
committerPatrick Simianer <p@simianer.de>2013-11-13 20:27:52 +0100
commitd32361ce37f794ae92f852ae2c7c3e6ef440ff07 (patch)
tree1faba46366e929aec478e868efa77c113421637f /extractor/sampler.cc
parent4a9449a564e626fe004200b730bfaa44d6152e0f (diff)
fix
Diffstat (limited to 'extractor/sampler.cc')
-rw-r--r--extractor/sampler.cc2
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) {