mirror of
https://github.com/opencv/opencv.git
synced 2026-10-07 04:02:36 +03:00
2988260107bf596e4e0d4d1de39d324172feeca1
Changed the type of variable *r* from int to size_t. This change makes sure that a valid result of std::max(r + delta, (r*3+1)/2) can be passed into the reserve function.
OpenCV: Open Source Computer Vision Library
Resources
- Homepage: http://opencv.org
- Docs: http://docs.opencv.org/master/
- Q&A forum: http://answers.opencv.org
- Issue tracking: https://github.com/opencv/opencv/issues
Contributing
Please read the contribution guidelines before starting work on a pull request.
Summary of the guidelines:
- One pull request per issue;
- Choose the right base branch;
- Include tests and documentation;
- Clean up "oops" commits before submitting;
- Follow the coding style guide.
Languages
C++
86.1%
Python
4%
C
2.8%
CMake
2.2%
Java
1.6%
Other
3.2%