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

Remove use of newshape argument in numpy reshape for numpy 2.1 compatibility. #1101

Closed
robfalck opened this issue Aug 14, 2024 · 0 comments · Fixed by #1102
Closed

Remove use of newshape argument in numpy reshape for numpy 2.1 compatibility. #1101

robfalck opened this issue Aug 14, 2024 · 0 comments · Fixed by #1102
Assignees
Labels
bug Something isn't working

Comments

@robfalck
Copy link
Contributor

Description

The numpy reshape function argument newshape has previously been the keyword argument name for specifying the new shape. That behavior is deprecated and it is being changed to shape.

For forward and backward compatibility, the newshape/shape argument should be specified as the second positional argument.

Example

N/A

Dymos Version

1.11.1-dev

Relevant environment information

No response

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