Skip to content

Commit

Permalink
Further Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyT1994 committed Jul 12, 2023
1 parent 087d20e commit 6e9407e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/indextags.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Helper functions
vertex_tag(v) = "$v"
vertex_tag(v) = replace("$v", "," => "×", "(" => "", ")" => "")

function vertex_tag(v::Tuple)
t = "$(vertex_tag(first(v)))"
Expand Down
2 changes: 1 addition & 1 deletion src/sitetype.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ end
function siteinds(sitetypes::AbstractDictionary, g::AbstractGraph; kwargs...)
is = IndsNetwork(g)
for v in vertices(g)
is[v] = [siteind(sitetypes[v], v; kwargs...)]
is[v] = [siteind(sitetypes[v], vertex_tag(v); kwargs...)]
end
return is
end
Expand Down

0 comments on commit 6e9407e

Please sign in to comment.