Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix arithmetic exception when pass an empty mat with IPP option on. #3135

Merged

Conversation

thorikawa
Copy link
Contributor

This PR fixes opencv/opencv_contrib#71. Currently some methods in stat.cpp causes arithmetic exception when empty matrix is passed with IPP option on, I fixed it by preventing zero-division.

@vpisarev
Copy link
Contributor

@akarsakov, can you review it?

@vpisarev vpisarev assigned vpisarev and unassigned akarsakov Aug 21, 2014
@vpisarev
Copy link
Contributor

ok, looks like the patch makes sense 👍

@opencv-pushbot opencv-pushbot merged commit cb0ab87 into opencv:master Aug 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

With IPP option on, Arithmetic exception happens in webcam_demo when switch to arbitrary oriented grouping.
4 participants