Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
ablaom committed Oct 8, 2024
1 parent 5afe7ac commit f690c44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/traits.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ using LearnAPI
# does nothing useful
struct SmallAlgorithm end
LearnAPI.fit(algorithm::SmallAlgorithm, data; verbosity=1) = algorithm
LearnAPI.algorithm(algorithm::SmallAlgorithm) = algorithm
LearnAPI.algorithm(model::SmallAlgorithm) = model
@trait(
SmallAlgorithm,
constructor = SmallAlgorithm,
Expand Down

0 comments on commit f690c44

Please sign in to comment.