Commit 2e0ebb6f authored by Laurae's avatar Laurae Committed by Guolin Ke
Browse files

Bump LightGBM version to 2.1.1, fix R integer input crash (#1347)

* Bump R version

* Bump CLI/Py version

* Roll back to 2.1.1 in R

* Fix Microsoft/LightGBM#1280
parent 49677098
Package: lightgbm
Type: Package
Title: Light Gradient Boosting Machine
Version: 2.1.0
Date: 2018-03-24
Version: 2.1.1
Date: 2018-04-29
Authors@R: c(
person("Guolin", "Ke", email = "guolin.ke@microsoft.com", role = c("aut", "cre")),
person("Damien", "Soukhavong", email = "damien.soukhavong@skema.edu", role = c("ctb")),
......
......@@ -67,6 +67,14 @@ Dataset <- R6Class(
}
}
# Check for matrix format
if (is.matrix(data)) {
# Check whether matrix is the correct type first ("double")
if (storage.mode(data) != "double") {
storage.mode(data) <- "double"
}
}
# Setup private attributes
private$raw_data <- data
private$params <- params
......
2.1.0
\ No newline at end of file
2.1.1
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