-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Cleanup MissingType enum constants #2931
Cleanup MissingType enum constants #2931
Conversation
P.S.: I placed this PR whilst trying to understand the code in #2921. |
fa152d2
to
346c7b0
Compare
@guolinke, do you approve this refactor? :) |
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
If you rebase to Sorry for the inconvenience! |
51aa04a
to
25560b7
Compare
Done @jameslamb @guolinke :) |
Thank you! The Travis failures left (on |
Merged now. |
I think it was approved but not merged @StrikerRUS ? |
it was for sure merged |
Sorry, I misunderstood, thought you were talking about this merge, not #2956 :) |
Can this be approved @guolinke ? |
@AlbertoEAF Please rebase to |
25560b7
to
8595403
Compare
Done @StrikerRUS :) |
@AlbertoEAF Thank you very much for your help! |
This pull request has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this. |
Clean up comparisons of missing_type using the enum name instead of hard-coded constants
This does not incur in any overhead and eases code comprehension.