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

sanitize the solve_triu and sync with AA #1958

Merged
merged 8 commits into from
Dec 13, 2024
Merged

Conversation

fieker
Copy link
Contributor

@fieker fieker commented Dec 3, 2024

technically breaking as _solve_triu is now AA._solve_triu

technically breaking as _solve_triu is now AA._solve_triu
src/flint/fmpz_mat.jl Outdated Show resolved Hide resolved
Comment on lines 1558 to 1560
if side == :right
return AbstractAlgebra._solve_triu(U, b; side)
end
Copy link
Member

Choose a reason for hiding this comment

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

uh... why does _solve_triu_left have a side parameter to begin with?!?

As far as I can tell nothing calls _solve_triu_left except one test case in Nemo.jl. So we could also just remove it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No. solve_triu left is essential for the stuff in Hecke. The solve right is not used (currently)

Copy link
Collaborator

Choose a reason for hiding this comment

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

I agree with @fingolfin that _solve_triu should have the side kwarg and dispatch to different methods depending on it. _solve_triu_left should not have to deal with these things.

src/flint/fmpz_mat.jl Outdated Show resolved Hide resolved
@thofma
Copy link
Member

thofma commented Dec 4, 2024

I will clean it up

@lgoettgens lgoettgens changed the base branch from master to lg/bump-AA-0.44 December 13, 2024 09:05
@lgoettgens lgoettgens changed the title sanitize the solve_triu and sync with AA. sanitize the solve_triu and sync with AA Dec 13, 2024
@lgoettgens lgoettgens merged commit cdbe858 into lg/bump-AA-0.44 Dec 13, 2024
15 of 22 checks passed
@lgoettgens lgoettgens deleted the SolveTriu branch December 13, 2024 09:06
lgoettgens added a commit that referenced this pull request Dec 13, 2024
* Bump AbstractAlgebra to 0.44.0

* sanitize the solve_triu and sync with AA (#1958)

* Remove duplicate polynomial call code (#1933)

---------

Co-authored-by: Claus Fieker <fieker@mathematik.uni-kl.de>
Co-authored-by: Max Horn <max@quendi.de>
Co-authored-by: Tommy Hofmann <thofma@gmail.com>
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.

4 participants