Commit a789b13c authored by Laurae's avatar Laurae Committed by GitHub
Browse files

Fix set_info to setinfo in R package (#1005)

* Fix Microsoft/LightGBM#1001
parent 1ef3d43e
......@@ -155,7 +155,7 @@ lgb.cv <- function(params = list(),
# Check for weights
if (!is.null(weight)) {
data$set_info("weight", weight)
data$setinfo("weight", weight)
}
# Update parameters with parsed parameters
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment