Skip to content

Commit

Permalink
Merge pull request #351 from FreyJo/fix_typos
Browse files Browse the repository at this point in the history
  • Loading branch information
4flixt committed Mar 9, 2023
2 parents a51a6dd + 3b14857 commit f6354ba
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions do_mpc/controller/_mpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def opt_x_num(self):
.. warning::
Do not tweak or overwrite this attribute unless you known what you are doing.
Do not tweak or overwrite this attribute unless you know what you are doing.
.. note::
Expand Down Expand Up @@ -293,7 +293,7 @@ def opt_p_num(self):
.. warning::
Do not tweak or overwrite this attribute unless you known what you are doing.
Do not tweak or overwrite this attribute unless you know what you are doing.
.. note::
Expand Down Expand Up @@ -383,7 +383,7 @@ def opt_p(self):
.. warning::
Do not tweak or overwrite this attribute unless you known what you are doing.
Do not tweak or overwrite this attribute unless you know what you are doing.
.. note::
Expand All @@ -402,7 +402,7 @@ def terminal_bounds(self, ind):
"""Query and set the terminal bounds for the states.
The :py:func:`terminal_bounds` method is an indexed property, meaning
getting and setting this property requires an index and calls this function.
The power index (elements are seperated by comas) must contain atleast the following elements:
The power index (elements are seperated by commas) must contain at least the following elements:
====== ================= ==========================================================
order index name valid options
Expand Down Expand Up @@ -1119,7 +1119,7 @@ def _update_bounds(self):


def _prepare_nlp(self):
"""Internal method. See detailed documentation with optimizer.prepare_nlp
"""Internal method. See detailed documentation of optimizer.prepare_nlp
"""
nl_cons_input = self.model['x', 'u', 'z', 'tvp', 'p']
self._setup_nl_cons(nl_cons_input)
Expand Down
8 changes: 4 additions & 4 deletions do_mpc/estimator/_mhe.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def opt_x_num(self):
.. warning::
Do not tweak or overwrite this attribute unless you known what you are doing.
Do not tweak or overwrite this attribute unless you know what you are doing.
.. note::
Expand Down Expand Up @@ -375,7 +375,7 @@ def opt_p_num(self):
.. warning::
Do not tweak or overwrite this attribute unless you known what you are doing.
Do not tweak or overwrite this attribute unless you know what you are doing.
.. note::
Expand Down Expand Up @@ -419,7 +419,7 @@ def opt_x(self):
.. warning::
Do not tweak or overwrite this attribute unless you known what you are doing.
Do not tweak or overwrite this attribute unless you know what you are doing.
.. note::
Expand Down Expand Up @@ -459,7 +459,7 @@ def opt_p(self):
.. warning::
Do not tweak or overwrite this attribute unless you known what you are doing.
Do not tweak or overwrite this attribute unless you know what you are doing.
.. note::
Expand Down
2 changes: 1 addition & 1 deletion do_mpc/optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ def solve(self):
self.opt_x_num,
self.opt_p_num
)

# For warmstarting purposes: Flag that initial run has been completed.
self.flags['initial_run'] = True

Expand Down

0 comments on commit f6354ba

Please sign in to comment.