-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
MAINT Remove -Wcpp warnings when compiling sklearn.svm._libsvm #25064
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for splitting the removal of -Wcpp
warnings in several steps, @OmarManzoor.
@jjerphan I have formatted the code as suggested and also fixed the CI errors. Could you kindly have a look again? |
It's fine and probably preferred. 👍 |
@OmarManzoor: can you please re-request a review when you are done? 🙂 |
Sure! |
If you have problems for the run on Windows, do merge |
Right thank you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few last suggestions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you, @OmarManzoor.
@glemaitre Could you kindly have a look at this PR when you have the time? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only nitpicks regarding the black style compliancy.
Thanks @OmarManzoor |
Reference Issues/PRs
Towards #24875
What does this implement/fix? Explain your changes.
Any other comments?
@jjerphan Since this file is a bit long I only handled the fit function to start with. I think once we can finalize the changes here we can apply a similar pattern to the other functions. This should hopefully make it easier to review.