Skip to content

Commit

Permalink
check.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Sep 16, 2022
1 parent 6c07f98 commit bb1fc88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/learner.cc
Expand Up @@ -1315,7 +1315,7 @@ class LearnerImpl : public LearnerIO {
monitor_.Start("BoostOneIter");
this->Configure();
// Should have been set to default in the first prediction.
CHECK(!std::isnan(mparam_.base_score));
CHECK(mparam_.base_score_estimated);

if (ctx_.seed_per_iteration) {
common::GlobalRandom().seed(ctx_.seed * kRandSeedMagic + iter);
Expand Down

0 comments on commit bb1fc88

Please sign in to comment.