Skip to content

Commit

Permalink
Update EnzymeSpecialFunctionsExt.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses authored Dec 7, 2024
1 parent 8e10a0a commit 5ae4643
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/EnzymeSpecialFunctionsExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ using Enzyme

function __init__()
Enzyme.Compiler.known_ops[typeof(SpecialFunctions._logabsgamma)] = (:logabsgamma, 1, (:digamma, typeof(SpecialFunctions.digamma)))
Enzyme.Compiler.cmplx_known_ops[typeof(SpecialFunctions.bessely)] = (:cmplx_jn, 2, nothing)
Enzyme.Compiler.cmplx_known_ops[typeof(SpecialFunctions.bessely)] = (:cmplx_yn, 2, nothing)
Enzyme.Compiler.cmplx_known_ops[typeof(SpecialFunctions.besseli)] = (:cmplx_jn, 2, nothing)
Enzyme.Compiler.cmplx_known_ops[typeof(SpecialFunctions.besselj)] = (:cmplx_jn, 2, nothing)
Enzyme.Compiler.cmplx_known_ops[typeof(SpecialFunctions.besselk)] = (:cmplx_kn, 2, nothing)
end
Expand Down

0 comments on commit 5ae4643

Please sign in to comment.