From fc92ecea245032f6e6c5cd6b044556f3bdcefac9 Mon Sep 17 00:00:00 2001 From: tangxifan Date: Mon, 9 Sep 2024 12:43:38 -0700 Subject: [PATCH] [core] typo --- openfpga/src/base/openfpga_pb_pin_fixup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openfpga/src/base/openfpga_pb_pin_fixup.cpp b/openfpga/src/base/openfpga_pb_pin_fixup.cpp index ab32ecc43..1d46f0c48 100644 --- a/openfpga/src/base/openfpga_pb_pin_fixup.cpp +++ b/openfpga/src/base/openfpga_pb_pin_fixup.cpp @@ -81,7 +81,7 @@ static int update_cluster_pin_global_net_with_post_routing_results( size_t cand_pin_start = pb_type_pin - pb_graph_pin->pin_number; size_t cand_pin_end = cand_pin_start + pb_graph_pin->port->num_pins; std::vector cand_pins(pb_graph_pin->port->num_pins); - std::itoa(cand_pins.begin(), cand_pins.end(), cand_pin_start); + std::iota(cand_pins.begin(), cand_pins.end(), cand_pin_start); if (map_gnet2msb) { std::reverse(cand_pins.begin(), cand_pins.end()); }