1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-21 23:01:45 +08:00

Fix warnings

This commit is contained in:
Vlad Shakhuro
2015-08-24 02:16:08 +03:00
parent 13053d6b6f
commit a546ba9690
2 changed files with 2 additions and 2 deletions

View File

@@ -292,7 +292,7 @@ void WaldBoost::fit(Mat& data_pos, Mat& data_neg)
}
double cascade_threshold = -1;
minMaxIdx(pos_trace, &cascade_threshold);
cascade_thresholds_.push_back(cascade_threshold);
cascade_thresholds_.push_back((float)cascade_threshold);
std::cerr << "i=" << std::setw(4) << i;
std::cerr << " feat=" << std::setw(5) << min_feature_ind;