Skip to content

Commit d12df3a

Browse files
authored
remove Base.getindex of _AxisLookup (#89)
1 parent 5dd48ed commit d12df3a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Project.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "BlockDecomposition"
22
uuid = "6cde8614-403a-11e9-12f1-c10d0f0caca0"
33
authors = ["Guillaume Marques", "Vitor Nesello", "François Vanderbeck"]
4-
version = "1.8.0"
4+
version = "1.9.0"
55

66
[deps]
77
Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa"
@@ -13,8 +13,8 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1313

1414
[compat]
1515
Combinatorics = "1.0.2"
16-
Graphs = "~1.5"
17-
JuMP = "~0.23, 1"
16+
Graphs = "~1.7"
17+
JuMP = "~1.2"
1818
MathOptInterface = "1"
1919
MetaGraphs = "~0.7"
2020
julia = "1.6"

src/axis.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ end
2929
convert(::Type{T}, i::AxisId{Name,T}) where {Name, T} = i.indice
3030
promote_rule(::Type{T}, ::Type{AxisId{Name,T}}) where {Name,T} = T
3131

32-
Base.getindex(x::JuMP.Containers._AxisLookup{Dict{AxisId{Name,T},N}}, key::T) where {Name,T,N} = x.data[key]
33-
3432
Base.hash(i::AxisId, h::UInt) = hash(i.indice, h)
3533

3634
# Permit the access to the entry of an array using an AxisId.

0 commit comments

Comments
 (0)