Skip to content

Commit a562702

Browse files
Remove extra LogDDP comments
Agent-Logs-Url: https://github.com/astomodynamics/cddp-cpp/sessions/aae117bf-421a-4278-94f0-375717e8e16e Co-authored-by: astomodynamics <49183997+astomodynamics@users.noreply.github.com>
1 parent 659d908 commit a562702

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/cddp_core/logddp_solver.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -368,9 +368,6 @@ bool LogDDPSolver::backwardPass(CDDP &context) {
368368
const double timestep = context.getTimestep();
369369
const auto &constraint_set = context.getConstraintSet();
370370

371-
// Pre-compute dynamics jacobians and hessians for all time steps.
372-
// LogDDP needs continuous-time Jacobians for the backward pass, so compute
373-
// them inline instead of using the base class's discrete-time derivatives.
374371
const int MIN_HORIZON_FOR_PARALLEL = 20;
375372
const bool use_parallel =
376373
options.enable_parallel && horizon >= MIN_HORIZON_FOR_PARALLEL;

0 commit comments

Comments
 (0)