Skip to content

Commit c5d18a6

Browse files
committed
allow EIndex(1=>2) as standalone edge index
1 parent 7e5b26e commit c5d18a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/symbolicindexing.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ struct VIndex{C,S} <: SymbolicStateIndex{C,S}
2323
compidx::C
2424
subidx::S
2525
end
26-
VIndex(ci::Union{Symbol,Int}) = VIndex(ci, nothing)
26+
VIndex(ci) = VIndex(ci, nothing)
2727
"""
2828
EIndex{C,S} <: SymbolicStateIndex{C,S}
2929
idx = EIndex(comp, sub)
@@ -50,7 +50,7 @@ struct EIndex{C,S} <: SymbolicStateIndex{C,S}
5050
compidx::C
5151
subidx::S
5252
end
53-
EIndex(ci::Union{Symbol,Int}) = EIndex(ci, nothing)
53+
EIndex(ci) = EIndex(ci, nothing)
5454
"""
5555
VPIndex{C,S} <: SymbolicStateIndex{C,S}
5656
idx = VPIndex(comp, sub)

0 commit comments

Comments
 (0)