summaryrefslogtreecommitdiff
path: root/extractor/sampler.h
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
commitdd73eb6adb58769dbd2ff2834faccad2cabb59b7 (patch)
tree04e3d9637387fee39045689926c4751b95787b3c /extractor/sampler.h
parent4c7d24c9357f500839f04c7c8a8cfa0472801e18 (diff)
fix
Diffstat (limited to 'extractor/sampler.h')
-rw-r--r--extractor/sampler.h2
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();