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
method submatrix of matrix_mod2_dense needs default arguments #18761
Comments
Commit: |
New commits:
|
Branch: u/cnassau/submatrix_signature |
comment:2
I have given the submatrix methods the same signature as in file "matrix1.pyx". This includes a name change of the arguments, because in parts of Sage (eg, I also made this change:
This fixed a segfault in my tests, and also seems to make more sense that the original: one returns an uninitialized matrix if it is empty, not if self is empty. Caveat: I have no detailed understanding of m4rie, someone knowledgeable might want to have a look at my changes. |
Author: Christian Nassau |
comment:5
Looks good to me. |
comment:6
Reviewer name is missing |
comment:7
I have added the name of the reviewer, and taken the liberty to revert the status to positive-review again myself. |
Reviewer: Martin Albrecht |
Changed branch from u/cnassau/submatrix_signature to |
The
submatrix
methods for dense matrices mod 2e have a different signature than the othersubmatrix
methods; the latter treat their last two arguments as optional. This leads to errors like this (from 6.8.beta5):or this
CC: @malb
Component: linear algebra
Keywords: dense matrix, sub matrix
Author: Christian Nassau
Branch/Commit:
3549edf
Reviewer: Martin Albrecht
Issue created by migration from https://trac.sagemath.org/ticket/18761
The text was updated successfully, but these errors were encountered: