Skip to content

Commit

Permalink
Update src/robot/util.cpp
Browse files Browse the repository at this point in the history
Co-Authored-By: gilwoolee <gilwoo301@gmail.com>
  • Loading branch information
brianhou and gilwoolee authored Feb 14, 2019
1 parent fac8462 commit 6f830bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/robot/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ trajectory::TrajectoryPtr planToTSR(
space->setState(metaSkeleton.get(), startState);
}

if (configurations.size() == 0)
if (configurations.empty())
return nullptr;

configurationRanker->rankConfigurations(configurations);
Expand Down

0 comments on commit 6f830bc

Please sign in to comment.