Skip to content

Commit

Permalink
fixed double/float mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
begroettrup authored and TadasBaltrusaitis committed Aug 10, 2018
1 parent 791a33b commit 674d074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/local/LandmarkDetector/src/PDM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ void PDM::CalcParams(cv::Vec6f& out_params_global, cv::Mat_<float>& out_params_l
float height = abs(min_y - max_y);

cv::Rect_<float> model_bbox;
CalcBoundingBox(model_bbox, cv::Vec6f(1.0, 0.0, 0.0, 0.0, 0.0, 0.0), cv::Mat_<double>(this->NumberOfModes(), 1, 0.0));
CalcBoundingBox(model_bbox, cv::Vec6f(1.0, 0.0, 0.0, 0.0, 0.0, 0.0), cv::Mat_<float>(this->NumberOfModes(), 1, 0.0));

cv::Rect_<float> bbox(min_x, min_y, width, height);

Expand Down

0 comments on commit 674d074

Please sign in to comment.