diff --git a/src/ProtocolZoo/ProtocolZoo.jl b/src/ProtocolZoo/ProtocolZoo.jl index c381b409..0336bd06 100644 --- a/src/ProtocolZoo/ProtocolZoo.jl +++ b/src/ProtocolZoo/ProtocolZoo.jl @@ -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) @@ -455,4 +455,4 @@ include("swapping.jl") include("switches.jl") using .Switches -end # module +end # module \ No newline at end of file