Skip to content

Commit 031691d

Browse files
committed
demo: avoid variable shadowing
1 parent 327cd98 commit 031691d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demo/demo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ void testVocCreation(const vector<vector<cv::Mat > > &features)
105105
const int k = 9;
106106
const int L = 3;
107107
const WeightingType weight = TF_IDF;
108-
const ScoringType score = L1_NORM;
108+
const ScoringType scoring = L1_NORM;
109109

110-
OrbVocabulary voc(k, L, weight, score);
110+
OrbVocabulary voc(k, L, weight, scoring);
111111

112112
cout << "Creating a small " << k << "^" << L << " vocabulary..." << endl;
113113
voc.create(features);

0 commit comments

Comments
 (0)