diff --git a/src/com/xilinx/rapidwright/placer/blockplacer/BlockPlacer2.java b/src/com/xilinx/rapidwright/placer/blockplacer/BlockPlacer2.java index d88e6bf8b..05a22c7a7 100644 --- a/src/com/xilinx/rapidwright/placer/blockplacer/BlockPlacer2.java +++ b/src/com/xilinx/rapidwright/placer/blockplacer/BlockPlacer2.java @@ -566,8 +566,8 @@ private void temperatureStep(int maxInnerIteration) { for (int inner_iterate = 0; inner_iterate< maxInnerIteration; inner_iterate++) { //for (int inner_iterate = 0; inner_iterate< (10*rangeLimit); inner_iterate++) { //for (int inner_iterate = 0; inner_iterate< (dev.getColumns()*dev.getRows()); inner_iterate++) { - //ModuleInstT selectedHD = hardMacros.get(rand.nextInt(hardMacros.size()-1)); - ModuleInstT selectedHD = weighted.get(rand.nextInt(weighted.size()-1)); + //ModuleInstT selectedHD = hardMacros.get(rand.nextInt(hardMacros.size())); + ModuleInstT selectedHD = weighted.get(rand.nextInt(weighted.size())); if (PARANOID) {