Skip to content

Commit bc3ea62

Browse files
bharatr21stweil
authored andcommitted
Fix bug in max_max_dist
1 parent c926bdb commit bc3ea62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/classify/trainingsampleset.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,7 @@ void TrainingSampleSet::ComputeCanonicalSamples(const IntFeatureMap& map,
618618
if (dist > max_dist) {
619619
max_dist = dist;
620620
if (dist > max_max_dist) {
621+
max_max_dist = dist;
621622
max_s1 = s1;
622623
max_s2 = s2;
623624
}

0 commit comments

Comments
 (0)