1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-17 15:26:00 +08:00

Changed some docs. Removed warnings.

This commit is contained in:
nunombmoutinho@gmail.com
2015-03-14 16:26:15 +00:00
parent 0e1775d6c5
commit c052265886
5 changed files with 8 additions and 6 deletions

View File

@@ -132,7 +132,7 @@ namespace cv
Plot(cv::Mat _plotDataX, cv::Mat _plotDataY)
{
//f the matrix is not Nx1 or 1xN
if(_plotDataX.cols > 1 && _plotDataX.rows > 1 || _plotDataY.cols > 1 && _plotDataY.rows > 1)
if((_plotDataX.cols > 1 && _plotDataX.rows > 1) || (_plotDataY.cols > 1 && _plotDataY.rows > 1))
{
std::cout << "ERROR: Plot data must be a 1xN or Nx1 matrix." << std::endl;
exit(0);