Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
titaschanda committed Mar 3, 2024
1 parent 60fab63 commit 18e903a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/ttn/ttn_generators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Automatically handles situations where the number of sites is not a power of 2.
graph, sitenodes = default_graph_sitenodes(32)
sitenodes[1] == (1,1) # true
sitenodes[2] == (1,1) # tru
sitenodes[2] == (1,1) # true
sitenodes[3] == (1,2) # true
sitenodes[4] == (1,2) # true
sitenodes[31] == (1,16) # true
Expand Down Expand Up @@ -185,9 +185,6 @@ function randomTTN(sites::Vector{Index{T}}, graph::Graph{Int2},
if !hastags(sites[b], "Site")
error("""`randomTTN()`: Input site `Index` must have `tag="Site" !!""")
end
#if !hastags(sites[b], "n=$b")
# error("""`randomTTN()`: Input site `Index` must have `tag="n=$b" !!""")
#end
end

if length(sitenodes) != numsites
Expand Down

0 comments on commit 18e903a

Please sign in to comment.