Skip to content

Commit

Permalink
Fix a typo in protocolzoo
Browse files Browse the repository at this point in the history
  • Loading branch information
hanakl committed Sep 26, 2024
1 parent 9e628a5 commit 06b1f0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ProtocolZoo/ProtocolZoo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ end
if isnothing(a_) || isnothing(b_)
if isnothing(prot.retry_lock_time)
@debug "EntanglerProt between $(prot.nodeA) and $(prot.nodeB)|round $(round): Failed to find free slots. \nGot:\n1. \t $a_ \n2.\t $b_ \n waiting..."
@yield lock(prot.net[prot.nodeA]tag_waiter) | lock(prot.net[prot.nodeB].tag_waiter)
@yield lock(prot.net[prot.nodeA].tag_waiter) | lock(prot.net[prot.nodeB].tag_waiter)
else
@debug "EntanglerProt between $(prot.nodeA) and $(prot.nodeB)|round $(round): Failed to find free slots. \nGot:\n1. \t $a_ \n2.\t $b_ \n retrying..."
@yield timeout(prot.sim, prot.retry_lock_time)
Expand Down Expand Up @@ -455,4 +455,4 @@ include("swapping.jl")
include("switches.jl")
using .Switches

end # module
end # module

0 comments on commit 06b1f0c

Please sign in to comment.