Skip to content

Commit 5ee05c5

Browse files
authored
Merge pull request #165 from JuliaAI/static-fit-ambiguity
Remove Integer type annotation in `fit(::Static, verbosity::Integer, ...)`
2 parents a346af9 + 2b78f38 commit 5ee05c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/model_api.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ thereof. The fallback of `reformat` returns the user-provided data
1010
function fit end
1111

1212
# fallback for static transformations
13-
fit(::Static, ::Integer, data...) = (nothing, nothing, nothing)
13+
fit(::Static, verbosity, data...) = (nothing, nothing, nothing)
1414

1515
# fallbacks for supervised models that don't support sample weights:
1616
fit(m::Supervised, verbosity, X, y, w) = fit(m, verbosity, X, y)

0 commit comments

Comments
 (0)