FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix arb.neg() by Maegereg · Pull Request #336 · flintlib/python-flint · GitHub

Repository navigation

Fix arb.neg() - #336

Merged
oscarbenjamin merged 3 commits into
flintlib:mainfrom
Maegereg:dasm/fix-neg
Oct 30, 2025
Merged

oscarbenjamin merged 3 commits into
flintlib:mainfrom
Maegereg:dasm/fix-neg

Conversation

Copy link
Copy Markdown
Contributor

Fixes #335, and adds tests for arb.neg()

Copy link
Copy Markdown
Collaborator

It looks like you have run a formatter such as black or ruff on the test code. Those formatting changes should be reverted and if we do want to use a formatter then that should be done in a separate PR.

Copy link
Copy Markdown
Contributor Author

Oops, sorry about that, I have black and isort set to run automatically on save in my editor. Fixed.

Copy link
Copy Markdown
Collaborator

Looks good. Thanks.

Can you add a release note with your name here in the README:

python-flint/README.md

Lines 162 to 175 in e8e716b

Next release (0.9.0)...
-----------------------
Contributors (0.9.0):
- Rémy Oudompheng (RO)
- Agriya Khetarpal (AK)
- Oscar Benjamin (OB)
Changes (0.9.0):
- [gh-322](https://github.com/flintlib/python-flint/pull/322),
Add `mul_low` and `pow_trunc` methods to `fmpz_poly`, `fmpq_poly` and
`nmod_poly`. (RO)

Copy link
Copy Markdown
Contributor Author

Can you add a release note with your name here in the README:

Done!

Copy link
Copy Markdown
Collaborator

Looks good. Thanks!

oscarbenjamin merged commit 7e2296c into flintlib:main Oct 30, 2025
145 of 160 checks passed

Copy link
Copy Markdown
Collaborator

It would be good to have some more testing for arb so any contribution is welcome. Mostly it is only covered by doctests and those are also quite flakey for arb given that in different FLINT versions the exact ball boundaries are not stable.

Copy link
Copy Markdown
Collaborator

For testing purposes now that this PR is merged you can install the nightly wheel with these changes from here:
https://anaconda.org/scientific-python-nightly-wheels/python-flint

If you want to add something in CI to test with these then that is a good option.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

arb.neg() does nothing

2 participants


Back | FazBrowse Home | New Git URL