Skip to content

Commit c3e6339

Browse files
supply init when getting included vars
1 parent d6c20f0 commit c3e6339

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mlj_interface.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function MMI.fit(m::MaxnetBinaryClassifier, verbosity::Int, X, y)
7070
cache = nothing
7171

7272
features = selected_features(fitresult)
73-
vars_included = mapreduce(_var_keys, (x, y) -> unique(vcat(x, y)), features)
73+
vars_included = mapreduce(_var_keys, (x, y) -> unique(vcat(x, y)), features; init = Symbol[])
7474

7575
report = Dict(
7676
:complexity => length(features),

0 commit comments

Comments
 (0)