summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2012-01-24 22:10:58 (GMT)
committerMarius Kintel <marius@kintel.net>2012-01-24 22:10:58 (GMT)
commitd3fc11b7db2caf1c40e2effd0b62e47adba814fd (patch)
tree766ed3e0663a15847dbed168d5088e9802551e5c /tests
parente93a23fdb8f478c2ebbda68df3d5c6d1441fc5bd (diff)
compile fix for recent change of the normalize() method
Diffstat (limited to 'tests')
-rw-r--r--tests/csgtestcore.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/csgtestcore.cc b/tests/csgtestcore.cc
index b5a6224..e47f423 100644
--- a/tests/csgtestcore.cc
+++ b/tests/csgtestcore.cc
@@ -300,7 +300,7 @@ int csgtestcore(int argc, char *argv[], test_type_e test_type)
// CSG normalization
CSGTermNormalizer normalizer;
- csgInfo.root_norm_term = normalizer.normalize(root_raw_term);
+ csgInfo.root_norm_term = normalizer.normalize(root_raw_term, 5000);
assert(csgInfo.root_norm_term);
@@ -313,7 +313,7 @@ int csgtestcore(int argc, char *argv[], test_type_e test_type)
csgInfo.highlights_chain = new CSGChain();
for (unsigned int i = 0; i < csgInfo.highlight_terms.size(); i++) {
- csgInfo.highlight_terms[i] = normalizer.normalize(csgInfo.highlight_terms[i]);
+ csgInfo.highlight_terms[i] = normalizer.normalize(csgInfo.highlight_terms[i], 5000);
csgInfo.highlights_chain->import(csgInfo.highlight_terms[i]);
}
}
@@ -323,7 +323,7 @@ int csgtestcore(int argc, char *argv[], test_type_e test_type)
csgInfo.background_chain = new CSGChain();
for (unsigned int i = 0; i < csgInfo.background_terms.size(); i++) {
- csgInfo.background_terms[i] = normalizer.normalize(csgInfo.background_terms[i]);
+ csgInfo.background_terms[i] = normalizer.normalize(csgInfo.background_terms[i], 5000);
csgInfo.background_chain->import(csgInfo.background_terms[i]);
}
}
contact: Jan Huwald // Impressum