Merge pull request #16897 from mshabunin:fix-kw-issues-2

pull/16899/head^2
Alexander Alekhin 5 years ago
commit a28a520c7f
  1. 1
      modules/calib3d/src/dls.cpp

@ -653,6 +653,7 @@ bool dls::is_empty(const cv::Mat * M)
bool dls::positive_eigenvalues(const cv::Mat * eigenvalues)
{
CV_Assert(eigenvalues && !eigenvalues->empty());
cv::MatConstIterator_<double> it = eigenvalues->begin<double>();
return *(it) > 0 && *(it+1) > 0 && *(it+2) > 0;
}

Loading…
Cancel
Save