Skip to content

Commit 794e0e3

Browse files
Merge pull request #440 from SciML/bin
register binomial
2 parents c4c3737 + 907ae66 commit 794e0e3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/function_registration.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,7 @@ Base.:^(x::Expression,y::T) where T <: Rational = Operation(Base.:^, Expression[
6565

6666
@register Base.conj(x)
6767
@register Base.getindex(x,i)
68+
@register Base.binomial(n,k)
69+
6870
Base.getindex(x::Operation,i::Int64) = Operation(getindex,[x,i])
6971
Base.one(::Operation) = 1

0 commit comments

Comments
 (0)