Merge pull request #61 from cyberjunk/master

Fix '=' compare in PDM.cpp
This commit is contained in:
Tadas Baltrusaitis 2016-09-06 10:36:17 -04:00 committed by GitHub
commit 4bbc662831

View file

@ -184,7 +184,7 @@ void PDM::CalcShape2D(cv::Mat_<double>& out_shape, const cv::Mat_<double>& param
cv::Mat_<double> Shape_3D = mean_shape + princ_comp * params_local; cv::Mat_<double> Shape_3D = mean_shape + princ_comp * params_local;
// create the 2D shape matrix (if it has not been defined yet) // create the 2D shape matrix (if it has not been defined yet)
if((out_shape.rows != mean_shape.rows) || (out_shape.cols = 1)) if((out_shape.rows != mean_shape.rows) || (out_shape.cols != 1))
{ {
out_shape.create(2*n,1); out_shape.create(2*n,1);
} }