Skip to content

Commit

Permalink
Update planning/planning_validator/src/planning_validator.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Kosuke Takeuchi <[email protected]>
  • Loading branch information
TakaHoribe and kosuke55 authored Jan 21, 2024
1 parent 365e208 commit e405d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion planning/planning_validator/src/planning_validator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ void PlanningValidator::validate(const Trajectory & trajectory)

bool PlanningValidator::checkValidSize(const Trajectory & trajectory)
{
return trajectory.points.size() < 2 ? false : true;
return trajectory.points.size() >=2;
}

bool PlanningValidator::checkValidFiniteValue(const Trajectory & trajectory)
Expand Down

0 comments on commit e405d74

Please sign in to comment.