1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

core: use "explicit" for Matx() ctor

This commit is contained in:
Alexander Alekhin
2018-07-12 20:14:23 +03:00
committed by Alexander Alekhin
parent 625d20b9b4
commit 33b7028be2
2 changed files with 13 additions and 12 deletions
+4 -4
View File
@@ -794,13 +794,13 @@ bool CV_OperationsTest::TestTemplateMat()
Size size(2, 5);
TestType<float>(size, 1.f);
cv::Vec3f val1 = 1.f;
cv::Vec3f val1(1.f);
TestType<cv::Vec3f>(size, val1);
cv::Matx31f val2 = 1.f;
cv::Matx31f val2(1.f);
TestType<cv::Matx31f>(size, val2);
cv::Matx41f val3 = 1.f;
cv::Matx41f val3(1.f);
TestType<cv::Matx41f>(size, val3);
cv::Matx32f val4 = 1.f;
cv::Matx32f val4(1.f);
TestType<cv::Matx32f>(size, val4);
}
catch (const test_excep& e)