Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ca4fb2a

Browse filesBrowse files
authored
Merge pull request #132 from acxz/patch-1
remove unneeded computation
2 parents 5a9ed9c + 7048b4c commit ca4fb2a
Copy full SHA for ca4fb2a

File tree

Expand file treeCollapse file tree

1 file changed

+0
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-2
lines changed

‎ct_optcon/include/ct/optcon/solver/lqp/GNRiccatiSolver-impl.hpp

Copy file name to clipboardExpand all lines: ct_optcon/include/ct/optcon/solver/lqp/GNRiccatiSolver-impl.hpp
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,6 @@ void GNRiccatiSolver<STATE_DIM, CONTROL_DIM, SCALAR>::computeCostToGo(size_t k)
157157
sv_[k] = p.qv_[k];
158158
sv_[k].noalias() += p.A_[k].transpose() * sv_[k + 1];
159159
sv_[k].noalias() += p.A_[k].transpose() * S_[k + 1] * p.b_[k];
160-
sv_[k].noalias() += this->L_[k].transpose() * Hi_[k] * this->lv_[k];
161-
sv_[k].noalias() += this->L_[k].transpose() * gv_[k];
162160
sv_[k].noalias() += G_[k].transpose() * this->lv_[k];
163161
}
164162

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.