From c0a088044ca1608bb11de3c54c16f22428e1307c Mon Sep 17 00:00:00 2001 From: Marcel Walter Date: Tue, 19 Sep 2023 16:19:55 +0200 Subject: [PATCH] :rotating_light: Fixed compiler error --- cli/cmd/physical_design/hex.hpp | 2 +- experiments/hexagonalization/hexagonalization.cpp | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/cli/cmd/physical_design/hex.hpp b/cli/cmd/physical_design/hex.hpp index 80d360304..bff1b061b 100644 --- a/cli/cmd/physical_design/hex.hpp +++ b/cli/cmd/physical_design/hex.hpp @@ -62,7 +62,7 @@ class hex_command : public command if constexpr (fiction::is_cartesian_layout_v) { - return fiction::hexagonalization(*lyt_ptr); + return fiction::hexagonalization(*lyt_ptr); } else { diff --git a/experiments/hexagonalization/hexagonalization.cpp b/experiments/hexagonalization/hexagonalization.cpp index d7b93d116..366f41982 100644 --- a/experiments/hexagonalization/hexagonalization.cpp +++ b/experiments/hexagonalization/hexagonalization.cpp @@ -36,6 +36,7 @@ int main() // NOLINT { using gate_lyt = fiction::gate_level_layout< fiction::clocked_layout>>>; + using hex_lyt = fiction::hex_even_row_gate_clk_lyt; using cell_lyt = fiction::sidb_cell_clk_lyt; experiments::experiment(gate_level_layout); - const auto end = std::chrono::steady_clock::now(); + const std::chrono::steady_clock::time_point begin = std::chrono::steady_clock::now(); + const auto hex_layout = fiction::hexagonalization(gate_level_layout); + const auto end = std::chrono::steady_clock::now(); // check equivalence fiction::equivalence_checking_stats eq_stats{};