summaryrefslogtreecommitdiff
path: root/extractor/sampler.cc
diff options
context:
space:
mode:
authorChris Dyer <redpony@gmail.com>2013-11-13 11:34:59 -0800
committerChris Dyer <redpony@gmail.com>2013-11-13 11:34:59 -0800
commit776b91c04bca9747adf5b056eb13af563aaa5edf (patch)
tree04e3d9637387fee39045689926c4751b95787b3c /extractor/sampler.cc
parent1b39e848903743990ca16e2323235b31db20178c (diff)
parentdd73eb6adb58769dbd2ff2834faccad2cabb59b7 (diff)
Merge pull request #28 from pks/master
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) {