We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a758af9 commit c2d823bCopy full SHA for c2d823b
src/OperatorEnumConstruction.jl
@@ -218,8 +218,8 @@ function OperatorEnum(;
218
)
219
@assert length(binary_operators) > 0 || length(unary_operators) > 0
220
221
- binary_operators = convert(Vector{Function}, collect(binary_operators))
222
- unary_operators = convert(Vector{Function}, collect(unary_operators))
+ binary_operators = Function[op for op in binary_operators]
+ unary_operators = Function[op for op in unary_operators]
223
224
if enable_autodiff
225
diff_binary_operators = Function[]
0 commit comments