Skip to content

Commit

Permalink
Relabelling "delay" => "delayed" in oc_ww
Browse files Browse the repository at this point in the history
  • Loading branch information
lenasal committed Feb 15, 2024
1 parent 3daca12 commit 397597e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions neurolib/control/optimal_control/oc_ww/oc_ww.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def Duh(self):
"""

xs = self.get_xs()
xsd = self.get_xs_delay()
xsd = self.get_xs_delayed()

return Duh(
self.model_params,
Expand Down Expand Up @@ -127,7 +127,7 @@ def compute_hx(self):
self.dim_vars,
self.T,
self.get_xs(),
self.get_xs_delay(),
self.get_xs_delayed(),
self.control,
self.state_vars_dict,
)
Expand Down Expand Up @@ -167,7 +167,7 @@ def compute_hx_nw(self):
self.T,
xs[:, self.state_vars_dict["se"], :],
xs[:, self.state_vars_dict["se"], :],
self.get_xs_delay()[:, self.state_vars_dict["se"], :],
self.get_xs_delayed()[:, self.state_vars_dict["se"], :],
self.control[:, self.state_vars_dict["r_exc"], :],
self.state_vars_dict,
)

0 comments on commit 397597e

Please sign in to comment.