From 3634ceef087df21234d8b056662c180d31dfb70e Mon Sep 17 00:00:00 2001 From: "julian.speith" Date: Tue, 28 May 2024 16:22:56 +0200 Subject: [PATCH] fixed mapping gates through graph rather than subgraph --- plugins/hawkeye/src/sbox_lookup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/hawkeye/src/sbox_lookup.cpp b/plugins/hawkeye/src/sbox_lookup.cpp index bd5ee0d5ce0..19811921203 100644 --- a/plugins/hawkeye/src/sbox_lookup.cpp +++ b/plugins/hawkeye/src/sbox_lookup.cpp @@ -136,7 +136,7 @@ namespace hal std::vector> input_groups; for (const auto& comp : comp_res.get()) { - auto gates_res = graph->get_gates_from_vertices(comp); + auto gates_res = subgraph->get_gates_from_vertices(comp); if (gates_res.is_error()) { return ERR(gates_res.get_error());