Skip to content

Commit

Permalink
CACTO Refactoring V3
Browse files Browse the repository at this point in the history
  • Loading branch information
elisaalboni committed Jul 3, 2023
1 parent cb519e4 commit 9f2b1d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TO.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def f_d(self, x, u):

return self.Fx, self.Fu

def backward_pass(self, T, TO_states, TO_controls, mu=1e-4):
def backward_pass(self, T, TO_states, TO_controls, mu=1e-4):
''' Perform the backward-pass of DDP to obtain the derivatives of the Value function w.r.t x '''
X_bar = np.zeros((T, self.nx))
for i in range(self.nx):
Expand Down

0 comments on commit 9f2b1d8

Please sign in to comment.