-
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
replace built-in assert with own CHECK macro #2938
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.
Hey great idea! Why is LightGBM::Log
required for this?
Because Json11 uses its own namespace LightGBM/include/LightGBM/utils/json11.h Line 59 in 0341906
and LightGBM/include/LightGBM/utils/log.h Line 24 in 0341906
Refer to https://stackoverflow.com/a/11791202. |
oooooooh wild, ok! thanks for the explanation |
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.
Looks good to me. I can see in the logs that this did not introduce any new R CMD CHECK issues.
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. |
It removes the difference between R-specific library and ordinary one.
Refer to #2837.