Skip to content

Commit 193ad67

Browse files
authored
Merge pull request #952 from JuliaAI/1-1-0
bump 1.1.0
2 parents 6e3e285 + 5d8224e commit 193ad67

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "MLJBase"
22
uuid = "a7f614a8-145f-11e9-1d2a-a57a1082229d"
33
authors = ["Anthony D. Blaom <anthony.blaom@gmail.com>"]
4-
version = "1.0.1"
4+
version = "1.1.0"
55

66
[deps]
77
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"

src/machines.jl

+3-2
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,9 @@ function check(model::Model, scitype_check_level, args...)
218218
return is_okay
219219
end
220220

221-
# we use `elscitype` here instead of `scitype` because the data is
222-
# wrapped in source nodes:
221+
# Sometimes (X, ) is a table, when X is a table, which leads to scitype((X,)) =
222+
# Table(...) where `Tuple{scitype(X)}` is wanted. Also, we use `elscitype` here
223+
# instead of `scitype` because the data is wrapped in source nodes;
223224
S = Tuple{elscitype.(args)...}
224225
if !(S <: F)
225226
is_okay = false

0 commit comments

Comments
 (0)