From cbfc8fd42ea91e1d1d5127840d1fd5ec73103f55 Mon Sep 17 00:00:00 2001 From: Redo Date: Fri, 4 Nov 2022 22:58:26 -0600 Subject: [PATCH] fix queue types --- sim/simulation.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sim/simulation.lua b/sim/simulation.lua index b6b4e97..e38e6d4 100644 --- a/sim/simulation.lua +++ b/sim/simulation.lua @@ -10,9 +10,9 @@ Simulation = {} function Simulation.new(sim) local o = { - groupqueue = ffi.new("struct Gate*[131072]"), + groupqueue = ffi.new("struct Net*[131072]"), num_groupqueue = ffi.new("int[1]"), - gatequeue = ffi.new("struct Net*[131072]"), + gatequeue = ffi.new("struct Gate*[131072]"), num_gatequeue = ffi.new("int[1]"), --groupfxqueue = {}, current_tick = 0,