Skip to content

Commit f5bcce5

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 77a44dd commit f5bcce5

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/graph/edge.cc

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -292,14 +292,15 @@ ConstraintSetPtr_t Edge::buildPathConstraint() {
292292

293293
// Build steering method
294294
const ProblemPtr_t& problem(g->problem());
295-
SteeringMethodPtr_t manipSteeringMethod = problem->manipulationSteeringMethod();
295+
SteeringMethodPtr_t manipSteeringMethod =
296+
problem->manipulationSteeringMethod();
296297
if (!manipSteeringMethod) {
297-
throw std::logic_error("Edge::buildPathConstraint: steering method of manipulation::Problem is"
298-
" not of type manipulation::SteeringMethod.\nYou probably changed the "
299-
"default one.");
298+
throw std::logic_error(
299+
"Edge::buildPathConstraint: steering method of manipulation::Problem is"
300+
" not of type manipulation::SteeringMethod.\nYou probably changed the "
301+
"default one.");
300302
}
301-
steeringMethod_ =
302-
manipSteeringMethod->innerSteeringMethod()->copy();
303+
steeringMethod_ = manipSteeringMethod->innerSteeringMethod()->copy();
303304
steeringMethod_->constraints(constraint);
304305
// Build path validation and relative motion matrix
305306
// TODO this path validation will not contain obstacles added after

0 commit comments

Comments
 (0)