Commit 12f55f75 authored by Luke Gallagher's avatar Luke Gallagher Committed by Guolin Ke
Browse files

Fix typo #1148 (#1149)

parent 4ecd08cd
...@@ -157,9 +157,9 @@ protected: ...@@ -157,9 +157,9 @@ protected:
bool is_constant_hessian_; bool is_constant_hessian_;
}; };
inline data_size_t SerialTreeLearner::GetGlobalDataCountInLeaf(int leafIdx) const { inline data_size_t SerialTreeLearner::GetGlobalDataCountInLeaf(int leaf_idx) const {
if (leafIdx >= 0) { if (leaf_idx >= 0) {
return data_partition_->leaf_count(leafIdx); return data_partition_->leaf_count(leaf_idx);
} else { } else {
return 0; return 0;
} }
......
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