@@ -840,7 +840,7 @@ class t_rr_graph_storage {
840840 // Generic lambda that allocates a 'vec'-sized new vector with all elements set to default value,
841841 // then builds the new vector to have rearranged elements from 'vec' and finaly move the new vector
842842 // to replace vec. Essentially does a permutation on vec based on edge_indices.
843- auto array_rearrage = [&edge_indices] (auto & vec, auto default_value) {
843+ auto array_rearrange = [&edge_indices] (auto & vec, auto default_value) {
844844
845845 // Since vec could have any type, we need to figure out it's type to allocate new_vec.
846846 // The scary std::remove_reference stuff does exactly that. This does nothing other than building a new 'vec' sized vector.
@@ -858,10 +858,10 @@ class t_rr_graph_storage {
858858 vec = std::move (new_vec);
859859 };
860860
861- array_rearrage (edge_src_node_, RRNodeId::INVALID ());
862- array_rearrage (edge_dest_node_, RRNodeId::INVALID ());
863- array_rearrage (edge_switch_, LIBRRGRAPH_UNDEFINED_VAL);
864- array_rearrage (edge_remapped_, false );
861+ array_rearrange (edge_src_node_, RRNodeId::INVALID ());
862+ array_rearrange (edge_dest_node_, RRNodeId::INVALID ());
863+ array_rearrange (edge_switch_, LIBRRGRAPH_UNDEFINED_VAL);
864+ array_rearrange (edge_remapped_, false );
865865 }
866866
867867 /* *****************
0 commit comments