Fix '=' compare

This commit is contained in:
Clint Banzhaf 2016-08-26 21:14:29 +02:00
parent a48509f815
commit 8a7c140e32
1 changed files with 1 additions and 1 deletions

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;
// 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);
}