fix bugs with queue inlining; inline gate queue as well
This commit is contained in:
@@ -34,7 +34,7 @@ function Gate.setportstate(gate, index, state)
|
||||
--gate[index*2+1] = state
|
||||
gate.port_states[index] = state
|
||||
|
||||
if (group.state_num>0) ~= (group.state==1) and (group.in_queue==0) then
|
||||
if ((group.state_num>0) ~= (group.state==1)) and (group.in_queue==0) then
|
||||
Simulation.queuegroup(GSim, group)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user