Skip to content

Conversation

@ksvbka
Copy link
Contributor

@ksvbka ksvbka commented Jan 23, 2022

Reference issue

What does this implement/fix?

Improve inverted_pendulum_mpc_control.py:

  • Fix cvxpy warning about deprecated matrix multiplication syntax
This use of ``*`` has resulted in matrix multiplication.
Using ``*`` for matrix multiplication has been deprecated since CVXPY 1.1.
    Use ``*`` for matrix-scalar and vector-scalar multiplication.
    Use ``@`` for matrix-matrix and matrix-vector multiplication.
    Use ``multiply`` for elementwise multiplication.

Additional information

CheckList

-[] Did you add an unittest for your new example or defect fix?
-[] Did you add documents for your new example?
-[] All CIs are green? (You can check it after submitting)

Copy link
Owner

@AtsushiSakai AtsushiSakai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks

@AtsushiSakai AtsushiSakai merged commit c066a94 into AtsushiSakai:master Jan 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants