File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1434,7 +1434,7 @@ static e_move_result try_swap(const t_annealing_state* state,
1434
1434
crit_params.crit_exponent = state->crit_exponent ;
1435
1435
crit_params.crit_limit = placer_opts.place_crit_limit ;
1436
1436
1437
- e_move_type move_type; // move type number
1437
+ e_move_type move_type = e_move_type::UNIFORM ; // move type number
1438
1438
1439
1439
num_ts_called++;
1440
1440
@@ -1462,7 +1462,7 @@ static e_move_result try_swap(const t_annealing_state* state,
1462
1462
rlim = state->rlim ;
1463
1463
}
1464
1464
1465
- e_create_move create_move_outcome;
1465
+ e_create_move create_move_outcome = e_create_move::ABORT ;
1466
1466
1467
1467
// When manual move toggle button is active, the manual move window asks the user for input.
1468
1468
if (manual_move_enabled) {
@@ -1481,7 +1481,7 @@ static e_move_result try_swap(const t_annealing_state* state,
1481
1481
++move_type_stat.num_moves [(int )move_type];
1482
1482
LOG_MOVE_STATS_PROPOSED (t, blocks_affected);
1483
1483
1484
- e_move_result move_outcome = ABORTED;
1484
+ e_move_result move_outcome = e_move_result:: ABORTED;
1485
1485
1486
1486
if (create_move_outcome == e_create_move::ABORT) {
1487
1487
LOG_MOVE_STATS_OUTCOME (std::numeric_limits<float >::quiet_NaN (),
You can’t perform that action at this time.
0 commit comments