We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aff408d commit 7017ba0Copy full SHA for 7017ba0
mjpc/planners/ilqs/planner.cc
@@ -114,8 +114,8 @@ void iLQSPlanner::OptimizePolicy(int horizon, ThreadPool& pool) {
114
if (dim_actions != sampling.model->nu * (horizon - 1) ||
115
dim_parameters != sampling.model->nu * num_spline_points) {
116
// dimension
117
- int dim_parameters = sampling.model->nu * num_spline_points;
118
- int dim_actions = sampling.model->nu * (horizon - 1);
+ dim_parameters = sampling.model->nu * num_spline_points;
+ dim_actions = sampling.model->nu * (horizon - 1);
119
120
// compute parameter to action mapping
121
mappings[sampling.policy.representation]->Compute(
0 commit comments