-
-
Notifications
You must be signed in to change notification settings - Fork 564
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
Cached generator matrices and parity check matrices should be immutable #21159
Comments
This comment has been minimized.
This comment has been minimized.
comment:3
I processed all code classes with the following update:
|
Commit: |
Author: Clément Pernet |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:7
Tests pass and doc builds, I agree with your changes, setting to positive review. David |
Reviewer: David Lucas |
Changed keywords from linear code to linear code, rd3 |
Changed branch from u/cpernet/immutable_generator_matrix to u/dlucas/immutable_generator_matrix |
comment:9
Well, reopenig this ticket to include parity check codes (#21328) in it. David New commits:
|
Dependencies: #21328 |
comment:11
Positive review to the merge and last commit by dlucas. |
Changed branch from u/dlucas/immutable_generator_matrix to |
In all linear code classes, constructed generator matrices and parity check matrices are cached for efficiency. However, they are often not immutable, leading to incorrect behaviour if the user inadvertently changes them.
All such cached matrices should be made immutable by
G.set_immutable(True)
.Depends on #21328
CC: @sagetrac-dlucas
Component: coding theory
Keywords: linear code, rd3
Author: Clément Pernet
Branch/Commit:
ac0e4f9
Reviewer: David Lucas
Issue created by migration from https://trac.sagemath.org/ticket/21159
The text was updated successfully, but these errors were encountered: