-
Notifications
You must be signed in to change notification settings - Fork 438
norm added to the sphinx documentation #976
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
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to fix the tolerance in the docstring example
c5f03de
to
47a393e
Compare
You won't get any futher by setting the example to 0.99993896484375. Different platform yield different values. Probably best to round the output: |
Or go to pytest-doctestplus: https://github.com/scientific-python/pytest-doctestplus?tab=readme-ov-file#floating-point-comparison |
OK will use rounding this time. |
…der Utility functions and conversions * Use round in the docstring examples
47a393e
to
6828c67
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Added
norm
to the function reference in the sphinx documentation under Utility functions and conversions.See #971