Skip to content

Commit f690c44

Browse files
committed
tweak
1 parent 5afe7ac commit f690c44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/traits.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ using LearnAPI
66
# does nothing useful
77
struct SmallAlgorithm end
88
LearnAPI.fit(algorithm::SmallAlgorithm, data; verbosity=1) = algorithm
9-
LearnAPI.algorithm(algorithm::SmallAlgorithm) = algorithm
9+
LearnAPI.algorithm(model::SmallAlgorithm) = model
1010
@trait(
1111
SmallAlgorithm,
1212
constructor = SmallAlgorithm,

0 commit comments

Comments
 (0)