mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
cv::norm -> cvtest::norm in tests
Conflicts: modules/core/src/stat.cpp
This commit is contained in:
@@ -184,8 +184,8 @@ TEST(DISABLED_ML_SVM, linear_save_load)
|
||||
svm3.predict(samples, r3);
|
||||
|
||||
double eps = 1e-4;
|
||||
EXPECT_LE(norm(r1, r2, NORM_INF), eps);
|
||||
EXPECT_LE(norm(r1, r3, NORM_INF), eps);
|
||||
EXPECT_LE(cvtest::norm(r1, r2, NORM_INF), eps);
|
||||
EXPECT_LE(cvtest::norm(r1, r3, NORM_INF), eps);
|
||||
|
||||
remove(tname.c_str());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user