Unverified Commit 224b8b98 authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

fixed cpplint issues (#2809)

* fixed cpplint issues

* fixed cpplint issues
parent 414c7b44
......@@ -671,7 +671,7 @@ void GBDT::GetPredictAt(int data_idx, double* out_result, int64_t* out_len) {
double GBDT::GetUpperBoundValue() const {
double max_value = 0.0;
for (const auto &tree: models_) {
for (const auto &tree : models_) {
max_value += tree->GetUpperBoundValue();
}
return max_value;
......@@ -679,7 +679,7 @@ double GBDT::GetUpperBoundValue() const {
double GBDT::GetLowerBoundValue() const {
double min_value = 0.0;
for (const auto &tree: models_) {
for (const auto &tree : models_) {
min_value += tree->GetLowerBoundValue();
}
return min_value;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment