File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1
1
name = " SpecialFunctions"
2
2
uuid = " 276daf66-3868-5448-9aa4-cd146d93841b"
3
- version = " 1.4.3 "
3
+ version = " 1.5 "
4
4
5
5
[deps ]
6
6
ChainRulesCore = " d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
7
7
LogExpFunctions = " 2ab3a3ac-af41-5b50-aa03-7779005ae688"
8
8
OpenSpecFun_jll = " efe28fd5-8261-553b-a9e1-b2916fc3738e"
9
9
10
10
[compat ]
11
- ChainRulesCore = " 0.9.40 "
12
- ChainRulesTestUtils = " 0.6.8"
11
+ ChainRulesCore = " 0.9.44, 0.10 "
12
+ ChainRulesTestUtils = " 0.6.8, 0.7 "
13
13
LogExpFunctions = " 0.2"
14
14
OpenSpecFun_jll = " 0.5"
15
15
julia = " 1.3"
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ ChainRulesCore.@scalar_rule(
105
105
ChainRulesCore. @scalar_rule (
106
106
polygamma (m, x),
107
107
(
108
- ChainRulesCore. DoesNotExist (),
108
+ ChainRulesCore. NoTangent (),
109
109
polygamma (m + 1 , x),
110
110
),
111
111
)
@@ -122,7 +122,11 @@ ChainRulesCore.@scalar_rule(
122
122
)
123
123
124
124
# actually is the absolute value of the logorithm of gamma paired with sign gamma
125
- ChainRulesCore. @scalar_rule (logabsgamma (x), digamma (x), ChainRulesCore. Zero ())
125
+ ChainRulesCore. @scalar_rule (
126
+ logabsgamma (x),
127
+ digamma (x),
128
+ ChainRulesCore. ZeroTangent ()
129
+ )
126
130
127
131
ChainRulesCore. @scalar_rule (loggamma (x), digamma (x))
128
132
ChainRulesCore. @scalar_rule (
You can’t perform that action at this time.
0 commit comments