Skip to content

Commit

Permalink
Merge pull request #952 from JuliaAI/1-1-0
Browse files Browse the repository at this point in the history
bump 1.1.0
  • Loading branch information
ablaom authored Jan 9, 2024
2 parents 6e3e285 + 5d8224e commit 193ad67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "MLJBase"
uuid = "a7f614a8-145f-11e9-1d2a-a57a1082229d"
authors = ["Anthony D. Blaom <[email protected]>"]
version = "1.0.1"
version = "1.1.0"

[deps]
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"
Expand Down
5 changes: 3 additions & 2 deletions src/machines.jl
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,9 @@ function check(model::Model, scitype_check_level, args...)
return is_okay
end

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

0 comments on commit 193ad67

Please sign in to comment.