Skip to content

Commit 58f0def

Browse files
authored
Merge pull request #621 from Moelf/patch-2
make `Base.binomial()` non-diff
2 parents 02a8172 + 9abb05b commit 58f0def

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ChainRules"
22
uuid = "082447d4-558c-5d27-93f4-14fc19e9eca2"
3-
version = "1.33.0"
3+
version = "1.34.0"
44

55
[deps]
66
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"

src/rulesets/Base/nondiff.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@
162162
@non_differentiable fieldnames(T)
163163

164164
@non_differentiable factorial(n::Integer)
165+
@non_differentiable binomial(n::Integer, k::Integer)
165166

166167
@non_differentiable findall(::Union{Regex, AbstractString, Function}, ::AbstractString)
167168
@non_differentiable findall(::Function, ::AbstractArray)

0 commit comments

Comments
 (0)