Skip to content

Commit

Permalink
Fix typo in ResetConfig (#3392)
Browse files Browse the repository at this point in the history
  • Loading branch information
btrotta authored Sep 13, 2020
1 parent 4f0f822 commit dc963d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/boosting/gbdt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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->forcedbins_filename) {
if (config_.get() != nullptr && config_->forcedsplits_filename != new_config->forcedsplits_filename) {
// load forced_splits file
if (!new_config->forcedsplits_filename.empty()) {
std::ifstream forced_splits_file(
Expand Down

0 comments on commit dc963d9

Please sign in to comment.