Skip to content

Commit

Permalink
[R-package] remove unreachable code (#6180)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Nov 8, 2023
1 parent aeafccf commit 5e90255
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion R-package/R/lgb.Booster.R
Original file line number Diff line number Diff line change
Expand Up @@ -1462,7 +1462,6 @@ lgb.get.eval.result <- function(booster, data_name, eval_name, iters = NULL, is_
, toString(eval_names)
, "]"
))
stop("lgb.get.eval.result: wrong eval name")
}

result <- booster$record_evals[[data_name]][[eval_name]][[.EVAL_KEY()]]
Expand Down

0 comments on commit 5e90255

Please sign in to comment.