We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54669e3 commit c5886a7Copy full SHA for c5886a7
1 file changed
src/algorithm_traits.jl
@@ -649,3 +649,13 @@ predict_output_scitype(algorithm) =
649
predict_output_type(algorithm) =
650
Dict(T => predict_output_type(algorithm, T())
651
for T in CONCRETE_TARGET_PROXY_TYPES)
652
+
653
654
+# # FALLBACK FOR INSTANCES
655
656
+for trait in TRAITS
657
+ ex = quote
658
+ $trait(x) = $trait(typeof(x))
659
+ end
660
+ eval(ex)
661
+end
0 commit comments