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
dc963d9f
Unverified
Commit
dc963d9f
authored
Sep 13, 2020
by
Belinda Trotta
Committed by
GitHub
Sep 13, 2020
Browse files
Fix typo in ResetConfig (#3392)
parent
4f0f822b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/boosting/gbdt.cpp
src/boosting/gbdt.cpp
+1
-1
No files found.
src/boosting/gbdt.cpp
View file @
dc963d9f
...
...
@@ -719,7 +719,7 @@ void GBDT::ResetConfig(const Config* config) {
if
(
train_data_
!=
nullptr
)
{
ResetBaggingConfig
(
new_config
.
get
(),
false
);
}
if
(
config_
.
get
()
!=
nullptr
&&
config_
->
forcedsplits_filename
!=
new_config
->
forced
bin
s_filename
)
{
if
(
config_
.
get
()
!=
nullptr
&&
config_
->
forcedsplits_filename
!=
new_config
->
forced
split
s_filename
)
{
// load forced_splits file
if
(
!
new_config
->
forcedsplits_filename
.
empty
())
{
std
::
ifstream
forced_splits_file
(
...
...
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