Skip to content

Commit

Permalink
support more special functions
Browse files Browse the repository at this point in the history
  • Loading branch information
zhujch1 committed Nov 28, 2023
1 parent eefb212 commit 8c77e72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/TaylorDiffSFExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ using ChainRules, ChainRulesCore

dummy = (NoTangent(), 1)
@variables z
for func in (erf,)
# logerfc, logerfcx, erfinv, gamma, digamma, trigamma
for func in (erf, erfc, erfcinv, erfcx, erfi)
F = typeof(func)
# base case
@eval function (op::$F)(t::TaylorScalar{T, 2}) where {T}
Expand Down

0 comments on commit 8c77e72

Please sign in to comment.