compile fix for recent change of the normalize() method

felipesanches-svg
Marius Kintel 2012-01-24 23:10:58 +01:00
parent e93a23fdb8
commit d3fc11b7db
1 changed files with 3 additions and 3 deletions

View File

@ -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]);
}
}