Commit d85c13b
authored
Merge pull request opencv#26587 from anandkaranubc:fix-nu-svc-parameter-check
Fix opencv#25812: Add error handling for invalid nu parameter in SVM NU_SVC opencv#26587
### Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work [Issue opencv#25812](opencv#25812)
- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
Patch to opencv_extra has the same branch name.
- [ ] The feature is well documented and sample code can be built with the project CMake1 parent 0dfc5d4 commit d85c13b
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
1458 | 1460 | | |
1459 | 1461 | | |
1460 | 1462 | | |
1461 | | - | |
1462 | | - | |
| 1463 | + | |
| 1464 | + | |
1463 | 1465 | | |
| 1466 | + | |
1464 | 1467 | | |
1465 | 1468 | | |
1466 | 1469 | | |
| |||
0 commit comments