Skip to content

Commit

Permalink
Merge pull request #182 from JuliaSymbolics/myb/gi
Browse files Browse the repository at this point in the history
Define getindex promotion
  • Loading branch information
ChrisRackauckas authored Apr 7, 2021
2 parents c279db1 + a4ebe9b commit 116eeb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Symbolics"
uuid = "0c5d862f-8b57-4792-8d23-62f2024744c7"
authors = ["Shashi Gowda <[email protected]>"]
version = "0.1.15"
version = "0.1.16"

[deps]
AbstractAlgebra = "c3fe647b-3220-5bb0-a1ea-a7954cac585d"
Expand Down
2 changes: 1 addition & 1 deletion src/extra_functions.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@register Base.getindex(x,i::Integer) false
@register Base.getindex(x,i) false
@register Base.getindex(x,i) # define one and only one promotion rule
@register Base.binomial(n,k)

@register Base.sign(x)::Int
Expand Down

0 comments on commit 116eeb6

Please sign in to comment.