From 474ba2d1e747c9103210b513ddfa9c6e4ff6ad75 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Mon, 30 Jun 2025 09:43:07 +0200 Subject: [PATCH] Fix clang compile error --- himbaechel/uarch/gatemate/pack_io.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/himbaechel/uarch/gatemate/pack_io.cc b/himbaechel/uarch/gatemate/pack_io.cc index ea416bd4..6cbb14a4 100644 --- a/himbaechel/uarch/gatemate/pack_io.cc +++ b/himbaechel/uarch/gatemate/pack_io.cc @@ -326,10 +326,8 @@ void GateMatePacker::pack_io_sel() cells.push_back(&ci); } - std::pair ddr[uarch->dies][9]; // for each bank - for (int i = 0; i < uarch->dies; ++i) - for (int j = 0; j < 9; ++j) - ddr[i][j] = {nullptr, nullptr}; + std::vector>> ddr( + uarch->dies, std::vector>(9, {nullptr, nullptr})); auto set_out_clk = [&](CellInfo *cell, CellInfo *target) -> bool { NetInfo *clk_net = cell->getPort(id_CLK);