mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +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);
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
#include "opencv2/ts.hpp"
|
||||
#include <opencv2/ts/cuda_test.hpp> // EXPECT_MAT_NEAR
|
||||
#include "opencv2/ml.hpp"
|
||||
#include "opencv2/core/core_c.h"
|
||||
|
||||
#include <fstream>
|
||||
using std::ifstream;
|
||||
|
||||
Reference in New Issue
Block a user