summaryrefslogtreecommitdiff
path: root/extractor/fast_intersector.cc
diff options
context:
space:
mode:
authorPaul Baltescu <pauldb89@gmail.com>2013-05-13 22:32:44 +0100
committerPaul Baltescu <pauldb89@gmail.com>2013-05-13 22:32:44 +0100
commit1d96c9c9c521edfca1d10e4d8c5064f79fda3ec5 (patch)
tree4e4375cbf4e7856212bbaf16f75156c63787d14e /extractor/fast_intersector.cc
parent9b656ed347ee098574b98a59ce11ccecb81e52f6 (diff)
Replace > > with >>.
Diffstat (limited to 'extractor/fast_intersector.cc')
-rw-r--r--extractor/fast_intersector.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/extractor/fast_intersector.cc b/extractor/fast_intersector.cc
index 2a7693b2..a8591a72 100644
--- a/extractor/fast_intersector.cc
+++ b/extractor/fast_intersector.cc
@@ -21,7 +21,7 @@ FastIntersector::FastIntersector(shared_ptr<SuffixArray> suffix_array,
max_rule_span(max_rule_span),
min_gap_size(min_gap_size) {
Index precomputed_collocations = precomputation->GetCollocations();
- for (pair<vector<int>, vector<int> > entry: precomputed_collocations) {
+ for (pair<vector<int>, vector<int>> entry: precomputed_collocations) {
vector<int> phrase = ConvertPhrase(entry.first);
collocations[phrase] = entry.second;
}
@@ -177,7 +177,7 @@ void FastIntersector::ExtendPhraseLocation(PhraseLocation& location) const {
}
location.num_subpatterns = 1;
- location.matchings = make_shared<vector<int> >();
+ location.matchings = make_shared<vector<int>>();
for (int i = location.sa_low; i < location.sa_high; ++i) {
location.matchings->push_back(suffix_array->GetSuffix(i));
}