@@ -136,7 +136,7 @@ bool move_mol_to_existing_cluster(t_pack_molecule* molecule,
136136
137137 // Add the atom to the new cluster
138138 t_lb_router_data* new_router_data = nullptr ;
139- is_added = pack_mol_in_existing_cluster (molecule, molecule_size, new_clb, new_clb_atoms, during_packing, false , clustering_data, new_router_data);
139+ is_added = pack_mol_in_existing_cluster (molecule, molecule_size, new_clb, new_clb_atoms, during_packing, clustering_data, new_router_data);
140140
141141 // Commit or revert the move
142142 if (is_added) {
@@ -166,7 +166,7 @@ bool swap_two_molecules(t_pack_molecule* molecule_1,
166166 int verbosity,
167167 t_clustering_data& clustering_data) {
168168 auto & cluster_ctx = g_vpr_ctx.mutable_clustering ();
169-
169+
170170 // define local variables
171171 PartitionRegion temp_cluster_pr_1, temp_cluster_pr_2;
172172
@@ -216,10 +216,10 @@ bool swap_two_molecules(t_pack_molecule* molecule_1,
216216 commit_mol_removal (molecule_2, molecule_2_size, clb_2, during_packing, old_2_router_data, clustering_data);
217217
218218 // Add the atom to the new cluster
219- mol_1_success = pack_mol_in_existing_cluster (molecule_1, molecule_1_size, clb_2, clb_2_atoms, during_packing, true , clustering_data, old_2_router_data);
219+ mol_1_success = pack_mol_in_existing_cluster (molecule_1, molecule_1_size, clb_2, clb_2_atoms, during_packing, clustering_data, old_2_router_data);
220220 if (!mol_1_success) {
221- mol_1_success = pack_mol_in_existing_cluster (molecule_1, molecule_1_size, clb_1, clb_1_atoms, during_packing, true , clustering_data, old_1_router_data);
222- mol_2_success = pack_mol_in_existing_cluster (molecule_2, molecule_2_size, clb_2, clb_2_atoms, during_packing, true , clustering_data, old_2_router_data);
221+ mol_1_success = pack_mol_in_existing_cluster (molecule_1, molecule_1_size, clb_1, clb_1_atoms, during_packing, clustering_data, old_1_router_data);
222+ mol_2_success = pack_mol_in_existing_cluster (molecule_2, molecule_2_size, clb_2, clb_2_atoms, during_packing, clustering_data, old_2_router_data);
223223
224224 VTR_ASSERT (mol_1_success && mol_2_success);
225225 free_router_data (old_1_router_data);
@@ -235,12 +235,12 @@ bool swap_two_molecules(t_pack_molecule* molecule_1,
235235 return false ;
236236 }
237237
238- mol_2_success = pack_mol_in_existing_cluster (molecule_2, molecule_2_size, clb_1, clb_1_atoms, during_packing, true , clustering_data, old_1_router_data);
238+ mol_2_success = pack_mol_in_existing_cluster (molecule_2, molecule_2_size, clb_1, clb_1_atoms, during_packing, clustering_data, old_1_router_data);
239239 if (!mol_2_success) {
240240 remove_mol_from_cluster (molecule_1, molecule_1_size, clb_2, clb_2_atoms, true , old_2_router_data);
241241 commit_mol_removal (molecule_1, molecule_1_size, clb_2, during_packing, old_2_router_data, clustering_data);
242- mol_1_success = pack_mol_in_existing_cluster (molecule_1, molecule_1_size, clb_1, clb_1_atoms, during_packing, true , clustering_data, old_1_router_data);
243- mol_2_success = pack_mol_in_existing_cluster (molecule_2, molecule_2_size, clb_2, clb_2_atoms, during_packing, true , clustering_data, old_2_router_data);
242+ mol_1_success = pack_mol_in_existing_cluster (molecule_1, molecule_1_size, clb_1, clb_1_atoms, during_packing, clustering_data, old_1_router_data);
243+ mol_2_success = pack_mol_in_existing_cluster (molecule_2, molecule_2_size, clb_2, clb_2_atoms, during_packing, clustering_data, old_2_router_data);
244244
245245 VTR_ASSERT (mol_1_success && mol_2_success);
246246 free_router_data (old_1_router_data);
0 commit comments