-
-
Notifications
You must be signed in to change notification settings - Fork 487
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
Make # abs tol compare over the complex numbers #38433
Make # abs tol compare over the complex numbers #38433
Conversation
0ba5432
to
c63a445
Compare
Documentation preview for this PR (built with commit d06e94b; changes) is ready! 🎉 |
Test failure in sagemath-categories |
c63a445
to
e8d8128
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
e8d8128
to
d06e94b
Compare
All checks passed and the github-actions bot removed the positive review tag? 🤷 |
It does that on pushes. It has nothing to do with the checks. |
For calculations over complex numbers that generate numeric noise, one tends to create small but non-zero imaginary parts. This PR updates the "# abs tol" tolerance setting to work over the complex numbers, as the "abs" suggests complex numbers. The real and imaginary parts are compared separately. The ordinary "# tol" and "# rel tol" are left as is. Fixes sagemath#36631
d06e94b
to
1cca0f6
Compare
Merge conflict fixed |
For calculations over complex numbers that generate numeric noise, one tends to create small but non-zero imaginary parts. This PR updates the "# abs tol" tolerance setting to work over the complex numbers, as the "abs" suggests complex numbers. The real and imaginary parts are compared separately. The ordinary "# tol" and "# rel tol" are left as is. Fixes sagemath#36631 URL: sagemath#38433 Reported by: Volker Braun Reviewer(s): Dima Pasechnik
For calculations over complex numbers that generate numeric noise, one tends to create small but non-zero imaginary parts. This PR updates the "# abs tol" tolerance setting to work over the complex numbers, as the "abs" suggests complex numbers. The real and imaginary parts are compared separately. The ordinary "# tol" and "# rel tol" are left as is. Fixes sagemath#36631 URL: sagemath#38433 Reported by: Volker Braun Reviewer(s): Dima Pasechnik
For calculations over complex numbers that generate numeric noise, one tends to create small but non-zero imaginary parts. This PR updates the "# abs tol" tolerance setting to work over the complex numbers, as the "abs" suggests complex numbers. The real and imaginary parts are compared separately.
The ordinary "# tol" and "# rel tol" are left as is.
Fixes #36631