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

support additional numpy function in convert to casadi #1066

Closed
martinjrobins opened this issue Jun 22, 2020 · 0 comments · Fixed by #1067
Closed

support additional numpy function in convert to casadi #1066

martinjrobins opened this issue Jun 22, 2020 · 0 comments · Fixed by #1067
Assignees
Labels
bug Something isn't working

Comments

@martinjrobins
Copy link
Contributor

Describe the bug

CasadiConverter fails on expression trees with the following numpy function: np.exp, np.sin, np.cos, np.sqrt

To Reproduce

create an expression tree with the above functions

Expected behaviour

CasadiConverter should be able to convert the tree

Solution is the simply add these to line ~99 of convert_to_casadi.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant