Skip to content

Commit 8df101d

Browse files
Merge pull request #16 from mohamed-barakat/getindex
installed Base.getindex(x::GAP.GapObj, y::GAP.GapObj)
2 parents bfaffb4 + 1cb503d commit 8df101d

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,7 +1,7 @@
11
name = "CapAndHomalg"
22
uuid = "c4774649-1891-41ea-a883-87141804c57c"
33
authors = ["Mohamed Barakat <[email protected]>"]
4-
version = "1.1.1"
4+
version = "1.1.2"
55

66
[deps]
77
GAP = "c863536a-3901-11e9-33e7-d5cd0df7b904"

src/CapAndHomalg.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ import Markdown
6969

7070
Base.:*(x::GAP.GapObj, y::String) = x * julia_to_gap(y)
7171
Base.getindex(x::GAP.GapObj, y::String) = GAP.Globals.ELM_LIST(x, julia_to_gap(y))
72+
Base.getindex(x::GAP.GapObj, y::GAP.GapObj) = GAP.Globals.ELM_LIST(x, y)
7273
Base.:/(x::GAP.GapObj, y::Array{GAP.GapObj,1}) = GAP.Globals.QUO(x, julia_to_gap(y))
7374

7475
function Base.showable(mime::MIME, obj::GapObj)

0 commit comments

Comments
 (0)