Skip to content

Commit

Permalink
revert refactoring due to cherry-pick
Browse files Browse the repository at this point in the history
  • Loading branch information
saka1-s committed Apr 10, 2024
1 parent c4fbcdb commit 528aae9
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2326,12 +2326,10 @@ AvoidLineArray AvoidanceModule::findNewShiftLine(const AvoidLineArray & candidat
}

if (perManeuver(parameters_->policy_approval)) {
debug.step4_new_shift_line = shift_lines;
return shift_lines;
return candidates;
}

const auto new_shift_lines = get_subsequent_shift(i);
debug.step4_new_shift_line = new_shift_lines;
return new_shift_lines;
}

Expand Down

0 comments on commit 528aae9

Please sign in to comment.