-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
fixed cpplint errors about spaces and newlines #2102
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.
Below are some minor fixes which are not about spaces and new lines.
@@ -306,7 +306,7 @@ def gen_parameter_code(config_hpp, config_out_cpp): | |||
# tails | |||
str_to_write += " return str_buf.str();\n" | |||
str_to_write += "}\n\n" | |||
str_to_write += "}\n" | |||
str_to_write += "} // namespace LightGBM\n" |
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.
namespace end
int size = n / 32; | ||
if(n % 32 != 0) size++; | ||
if (n % 32 != 0) ++size; |
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.
prefix increment
@@ -216,9 +216,9 @@ class Booster { | |||
is_raw_score = false; | |||
} | |||
|
|||
// TODO: config could be optimized away... (maybe using lambda callback?) | |||
// TODO(eisber): config could be optimized away... (maybe using lambda callback?) |
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.
nickname of TODO creator
Refer to #1990.