Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python example fails due to recent contribution (new exception) #63

Closed
g-lisi opened this issue Jun 20, 2019 · 1 comment
Closed

Python example fails due to recent contribution (new exception) #63

g-lisi opened this issue Jun 20, 2019 · 1 comment

Comments

@g-lisi
Copy link

g-lisi commented Jun 20, 2019

getting_started.py fails at line 66
qp.set('A', [A, A, A, A, A])
Due to a recent modification to the ...wrapper/hpipm_ocp_qp.py at line 176:
raise Exception("Trying to assign value which is not a vector nor a scalar. Exiting.")

Is it enough to do?
qp.set('A', np.array([A, A, A, A, A]))

@g-lisi g-lisi changed the title Python example fails due to new exception Python example fails due to recent contribution (new exception) Jun 20, 2019
@zanellia
Copy link
Contributor

hey @pepperpo, it should be fixed now, thanks for the heads up ;)

@giaf giaf closed this as completed Aug 22, 2019
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

No branches or pull requests

3 participants