Skip to content

Commit

Permalink
Merge pull request #185 from JuliaAI/dev
Browse files Browse the repository at this point in the history
For a 1.9.4 release
  • Loading branch information
ablaom authored Dec 22, 2023
2 parents 266ef8e + 4393ab5 commit a992ea2
Show file tree
Hide file tree
Showing 2 changed files with 3 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 = "MLJModelInterface"
uuid = "e80e1ace-859a-464e-9ed9-23947d8ae3ea"
authors = ["Thibaut Lienart and Anthony Blaom"]
version = "1.9.3"
version = "1.9.4"

[deps]
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Expand Down
4 changes: 2 additions & 2 deletions src/model_def.jl
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ function _model_constructor(modelname, params, defaults)
Expr(
:block,
Expr(:(=), :model, Expr(:call, :new, params...)),
:(message = MLJModelInterface.clean!(model)),
:(message = $MLJModelInterface.clean!(model)),
:(isempty(message) || @warn message),
:(return model)
)
Expand All @@ -158,7 +158,7 @@ in a model def.
function _model_cleaner(modelname, defaults, constraints)
Expr(
:function,
:(MLJModelInterface.clean!(model::$modelname)),
:($MLJModelInterface.clean!(model::$modelname)),
# body of the function
Expr(
:block,
Expand Down

0 comments on commit a992ea2

Please sign in to comment.