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 @@ -1336,7 +1336,7 @@ static e_move_result try_swap(const t_annealing_state* state,
1336
1336
crit_params.crit_exponent = state->crit_exponent ;
1337
1337
crit_params.crit_limit = placer_opts.place_crit_limit ;
1338
1338
1339
- e_move_type move_type; // move type number
1339
+ e_move_type move_type = e_move_type::UNIFORM ; // move type number
1340
1340
1341
1341
num_ts_called++;
1342
1342
@@ -1358,7 +1358,7 @@ static e_move_result try_swap(const t_annealing_state* state,
1358
1358
rlim = state->rlim ;
1359
1359
}
1360
1360
1361
- e_create_move create_move_outcome;
1361
+ e_create_move create_move_outcome = e_create_move::ABORT ;
1362
1362
1363
1363
// When manual move toggle button is active, the manual move window asks the user for input.
1364
1364
if (manual_move_enabled) {
@@ -1373,7 +1373,7 @@ static e_move_result try_swap(const t_annealing_state* state,
1373
1373
++move_type_stat.num_moves [(int )move_type];
1374
1374
LOG_MOVE_STATS_PROPOSED (t, blocks_affected);
1375
1375
1376
- e_move_result move_outcome = ABORTED;
1376
+ e_move_result move_outcome = e_move_result:: ABORTED;
1377
1377
1378
1378
if (create_move_outcome == e_create_move::ABORT) {
1379
1379
LOG_MOVE_STATS_OUTCOME (std::numeric_limits<float >::quiet_NaN (),
You can’t perform that action at this time.
0 commit comments