Skip to content
This repository has been archived by the owner on Nov 13, 2017. It is now read-only.

Commit

Permalink
cherry-picking #291 from indigo-devel
Browse files Browse the repository at this point in the history
reverts 39e9a0d
  • Loading branch information
hamalMarino authored and rhaschke committed May 19, 2016
1 parent 9fb427f commit 6946c06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robot_trajectory/src/robot_trajectory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ double robot_trajectory::RobotTrajectory::getWaypointDurationFromStart(std::size
bool robot_trajectory::RobotTrajectory::getStateAtDurationFromStart(const double request_duration, robot_state::RobotStatePtr& output_state) const
{
// If there are no waypoints we can't do anything
if (getWayPointCount())
if (getWayPointCount() == 0)
return false;

int before = 0, after = 0;
Expand Down

0 comments on commit 6946c06

Please sign in to comment.