Skip to content

Commit

Permalink
Merge pull request #253 from gmsanchez/master
Browse files Browse the repository at this point in the history
Fix the process noise variable creation.
  • Loading branch information
4flixt committed Apr 5, 2022
2 parents 495a052 + 90ed549 commit f755494
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion do_mpc/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,8 @@ def set_rhs(self, var_name, expr, process_noise=False):
else:
var = SX.sym(var_name+'_noise', expr.shape[0])

self._w.append(var)
self._w['name'].append(var_name + '_noise')
self._w['var'].append(var)
expr += var
self.rhs_list.extend([{'var_name': var_name, 'expr': expr}])

Expand Down
2 changes: 1 addition & 1 deletion documentation/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
author = 'Sergio Lucia and Felix Fiedler'

# The full version, including alpha/beta/rc tags
release = '4.3.2'
release = '4.3.3'



Expand Down
4 changes: 2 additions & 2 deletions documentation/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ Model predictive control python toolbox
.. image:: https://readthedocs.org/projects/do-mpc/badge/?version=latest
:target: https://www.do-mpc.com
:alt: Documentation Status
.. image:: https://travis-ci.org/do-mpc/do-mpc.svg?branch=master
:target: https://travis-ci.org/do-mpc/do-mpc
.. image:: https://app.travis-ci.com/do-mpc/do-mpc.svg?branch=master
:target: https://app.travis-ci.com/do-mpc/do-mpc
:alt: Build Status
.. image:: https://badge.fury.io/py/do-mpc.svg
:target: https://badge.fury.io/py/do-mpc
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='do_mpc',
version='4.3.2',
version='4.3.3',
packages=['do_mpc','do_mpc.tools', 'do_mpc.sampling'],
author='Sergio Lucia and Felix Fiedler',
author_email='sergio.lucia@tu-berlin.de',
Expand Down

0 comments on commit f755494

Please sign in to comment.