id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,merged,author,reviewer,upstream,work_issues,branch,commit,dependencies,stopgaps
21159,Cached generator matrices and parity check matrices should be immutable,Johan Rosenkilde,,"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.
{{{
sage: C = codes.GeneralizedReedSolomonCode(GF(7).list(), 3)
sage: C.generator_matrix()[0,0] = 0
sage: C.generator_matrix().row(0) in C
False
}}}
All such cached matrices should be made immutable by `G.set_immutable(True)`.",defect,closed,major,sage-7.6,coding theory,fixed,"linear code, beginner, rd3",David Lucas,,Clément Pernet,David Lucas,N/A,,ac0e4f91f1f964492d6c8732d3d1de80593d59da,ac0e4f91f1f964492d6c8732d3d1de80593d59da,#21328,