remove gate ffi struct

This commit is contained in:
Redo
2022-11-04 15:04:49 -06:00
parent 5438de0adf
commit a9056df54d
5 changed files with 17 additions and 29 deletions

View File

@@ -195,7 +195,7 @@ function Group.setstate(group, state)
local len = group.num_gates_update
for i = 1, len do
local gate = group.gates_update[i]
if gate and gate.c.in_queue==0 then
if gate and gate.in_queue==0 then
Simulation.queuegate(sim, gate)
end
end