Skip to content

Commit

Permalink
refactor: debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
be-marc committed Oct 5, 2023
1 parent 65b18a9 commit a4e40a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/HotstartStack.R
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ HotstartStack = R6Class("HotstartStack",
][, "cost" := map_dbl(start_learner, function(l) calculate_cost(l, learner, hotstart_id))
][which_min(get("cost"), na_rm = TRUE), start_learner]

lg$debug("Found %i start learner(s) in hotstart stack.", length(start_learner))
lg$debug("Found %i start learner(s) in hotstart stack of size %i.", length(start_learner), nrow(self$stack))

if (!length(start_learner)) return(NULL)
learner$state = start_learner[[1]]$state
Expand Down

0 comments on commit a4e40a8

Please sign in to comment.