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

Fix for issue #144. #155

Merged
merged 1 commit into from
Jan 30, 2025
Merged

Conversation

petercorke
Copy link
Collaborator

The dim option of getunit() was poorly defined and inconsistently used. Added a vector option to enforce a vector/scalar return, and dim is only used for checking. Fixed/extended unit tests and all calls to getunit() where this confusion occurred. Also fixed some minor sphinx doco formatting problems.

This version of the PR excludes the commit noise from the ongoing black formatting issue.

…poorly defined and inconsistently used. Added a `vector` option to enforce a vector/scalar return, and `dim` is only used for checking. Fixed tests and all calls to `getunit()` where this case occurred. Also fixed some minor sphinx doco formatting problems.
Copy link
Collaborator

@myeatman-bdai myeatman-bdai left a comment

Choose a reason for hiding this comment

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

👍

@myeatman-bdai myeatman-bdai merged commit 39d6127 into bdaiinstitute:master Jan 30, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants