File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ bazel_dep(name = "c3")
9191git_override (
9292 module_name = "c3" ,
9393 remote = "https://github.com/DAIRLab/c3.git" ,
94- commit = "2c28e37e87285dad06fa88748debd16870284901 "
94+ commit = "223b60f53faeb8e112e11eec44d5c37b5cfa60a7 "
9595)
9696
9797
Original file line number Diff line number Diff line change @@ -373,17 +373,14 @@ struct SamplingC3Options : C3Options, LCSFactoryOptions {
373373 }
374374 }
375375
376- options->g_vector = g_vector;
377- options->u_vector = u_vector;
378-
379376 Eigen::VectorXd q = Eigen::Map<const Eigen::VectorXd>(
380377 options->q_vector .data (), options->q_vector .size ());
381378 Eigen::VectorXd r = Eigen::Map<const Eigen::VectorXd>(
382379 options->r_vector .data (), options->r_vector .size ());
383- Eigen::VectorXd g = Eigen::Map< const Eigen::VectorXd>(
384- options-> g_vector .data (), options-> g_vector .size ());
385- Eigen::VectorXd u = Eigen::Map< const Eigen::VectorXd>(
386- options-> u_vector .data (), options-> u_vector .size ());
380+ Eigen::VectorXd g =
381+ Eigen::Map< const Eigen::VectorXd>( g_vector.data (), g_vector.size ());
382+ Eigen::VectorXd u =
383+ Eigen::Map< const Eigen::VectorXd>( u_vector.data (), u_vector.size ());
387384
388385 options->Q = options->w_Q * q.asDiagonal ();
389386 options->R = options->w_R * r.asDiagonal ();
You can’t perform that action at this time.
0 commit comments