Skip to content

Commit 88b8d0f

Browse files
author
MohamedElgammal
committed
Fix formatting
1 parent 3f875bb commit 88b8d0f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

vpr/src/base/read_options.cpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2755,14 +2755,15 @@ void set_conditional_defaults(t_options& args) {
27552755
// If you are running WLdriven placement, the RL reward function should be
27562756
// either basic or nonPenalizing basic
27572757
if (args.RL_agent_placement && (args.PlaceAlgorithm == BOUNDING_BOX_PLACE || !args.timing_analysis)) {
2758-
if (args.place_reward_fun.value() != "basic" && args.place_reward_fun.value() != "nonPenalizing_basic")
2759-
VTR_LOG_WARN("To use RLPlace for WLdriven placements, the reward function should be basic or nonPenalizing_basic.\n"
2760-
"you can specify the reward function using --place_reward_fun.\n"
2761-
"Setting the placement reward function to \"basic\"\n");
2758+
if (args.place_reward_fun.value() != "basic" && args.place_reward_fun.value() != "nonPenalizing_basic") {
2759+
VTR_LOG_WARN(
2760+
"To use RLPlace for WLdriven placements, the reward function should be basic or nonPenalizing_basic.\n"
2761+
"you can specify the reward function using --place_reward_fun.\n"
2762+
"Setting the placement reward function to \"basic\"\n");
27622763
args.place_reward_fun.set("basic", Provenance::INFERRED);
2764+
}
27632765
}
27642766

2765-
27662767
//Which placement algorithm to use during placement quench?
27672768
if (args.PlaceQuenchAlgorithm.provenance() != Provenance::SPECIFIED) {
27682769
args.PlaceQuenchAlgorithm.set(args.PlaceAlgorithm, Provenance::INFERRED);

0 commit comments

Comments
 (0)