Skip to content

Commit 59016f8

Browse files
authored
Merge pull request #90 from alan-turing-institute/nothing
Modify the test for distribution-fitters
2 parents 4567468 + 1e23d06 commit 59016f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/model_api.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ mutable struct UnivariateFiniteFitter <: Probabilistic end
5555
X) = fill(fitresult, length(X))
5656

5757
MLJModelInterface.input_scitype(::Type{<:UnivariateFiniteFitter}) =
58-
AbstractVector{Nothing}
58+
Nothing
5959
MLJModelInterface.target_scitype(::Type{<:UnivariateFiniteFitter}) =
6060
AbstractVector{<:Finite}
6161

6262
y =categorical(collect("aabbccaa"))
63-
X = fill(nothing, length(y))
63+
X = nothing
6464
model = UnivariateFiniteFitter()
6565
fitresult, cache, report = MLJModelInterface.fit(model, 1, X, y)
6666

0 commit comments

Comments
 (0)