mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Fix build warnings
This commit is contained in:
@@ -1154,7 +1154,7 @@ TEST_P(HoughLines, Accuracy)
|
||||
const std::string fileName = GET_PARAM(1);
|
||||
|
||||
const float rho = 1.0f;
|
||||
const float theta = CV_PI / 180.0f;
|
||||
const float theta = static_cast<float>(CV_PI / 180);
|
||||
const int threshold = 50;
|
||||
|
||||
cv::Mat img = readImage(fileName, cv::IMREAD_GRAYSCALE);
|
||||
|
||||
Reference in New Issue
Block a user