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

Error in addeq! for MatAlgebraElem #1547

Closed
Lax202 opened this issue Jun 19, 2024 · 0 comments · Fixed by #1548
Closed

Error in addeq! for MatAlgebraElem #1547

Lax202 opened this issue Jun 19, 2024 · 0 comments · Fixed by #1548

Comments

@Lax202
Copy link
Contributor

Lax202 commented Jun 19, 2024

The function seems to update only coefficients and not the matrix itself.

julia> R = matrix_algebra(QQ,2)
Matrix algebra of dimension 4 over Rational field

julia> b = R(matrix(QQ,[3 4; 5 6]))
[3 4; 5 6]

julia> Hecke.addeq!(b,b)
[3 4; 5 6]

julia> b.coeffs
4-element Vector{QQFieldElem}:
 6
 10
 8
 12
thofma added a commit that referenced this issue Jun 19, 2024
thofma added a commit that referenced this issue Jun 19, 2024
thofma added a commit that referenced this issue Jun 19, 2024
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 a pull request may close this issue.

1 participant