Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
12f55f75
Commit
12f55f75
authored
Dec 28, 2017
by
Luke Gallagher
Committed by
Guolin Ke
Dec 28, 2017
Browse files
Fix typo #1148 (#1149)
parent
4ecd08cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/treelearner/serial_tree_learner.h
src/treelearner/serial_tree_learner.h
+3
-3
No files found.
src/treelearner/serial_tree_learner.h
View file @
12f55f75
...
...
@@ -157,9 +157,9 @@ protected:
bool
is_constant_hessian_
;
};
inline
data_size_t
SerialTreeLearner
::
GetGlobalDataCountInLeaf
(
int
leaf
I
dx
)
const
{
if
(
leaf
I
dx
>=
0
)
{
return
data_partition_
->
leaf_count
(
leaf
I
dx
);
inline
data_size_t
SerialTreeLearner
::
GetGlobalDataCountInLeaf
(
int
leaf
_i
dx
)
const
{
if
(
leaf
_i
dx
>=
0
)
{
return
data_partition_
->
leaf_count
(
leaf
_i
dx
);
}
else
{
return
0
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment