mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
fix legacy constants
This commit is contained in:
@@ -656,7 +656,7 @@ public:
|
||||
|
||||
// Update weights
|
||||
// not normalized first
|
||||
reduce(trainProbs, weights, 0, CV_REDUCE_SUM);
|
||||
reduce(trainProbs, weights, 0, REDUCE_SUM);
|
||||
|
||||
// Update means
|
||||
means.create(nclusters, dim, CV_64FC1);
|
||||
|
||||
Reference in New Issue
Block a user