Skip to content
Snippets Groups Projects
Commit 0bd34570 authored by pre-commit-ci[bot]'s avatar pre-commit-ci[bot] Committed by Florent Lamiraux
Browse files

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
parent a16fee27
No related branches found
No related tags found
No related merge requests found
Pipeline #44415 passed
......@@ -69,10 +69,12 @@ void TransitionPlanner::checkProblemAndForwardParameters() {
" no constraints. You probably forgot to select "
"the transition.");
// Check that the initial configuration has been initialized
if (innerProblem_->initConfig().size() != innerProblem_->robot()->configSize()) {
if (innerProblem_->initConfig().size() !=
innerProblem_->robot()->configSize()) {
std::ostringstream os;
os << "TransitionPlanner::startSolve: initial configuration size ("
<< innerProblem_->initConfig().size() << ") differs from robot configuration size ( "
<< innerProblem_->initConfig().size()
<< ") differs from robot configuration size ( "
<< innerProblem_->robot()->configSize() << "). Did you initialize it ?";
throw std::logic_error(os.str().c_str());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment