-
Notifications
You must be signed in to change notification settings - Fork 19
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
[Gauss] Error when computing the transpose of a small sparse matrix over GF(2) #604
Comments
GF(2) matrices are in so far special, as they do not have the component gap> LoadPackage("gauss", false);;
gap> sm := SparseMatrix(2, 5, [[1,3],[2,4]]);
gap> TransposedSparseMat(sm); |
Thank you for your quick response! That works and seems to circumvent this problem. However, it still seems to me that the third constructor BTW, I see now that there is another problem with my input, because the entries I gave are actually integers instead of elements of GF(2) (the problem I ran into in issue #606). The input in my original post should have been:
This still gives the same error message as before. It would be helpful if the constructor would either convert this to a valid input or immediately throw an error message, instead of quietly accepting the input and giving cryptic error messages later on. |
You are right, the 4 (or 5) argument version of |
There appears to be a bug in the
gauss
package when computing the transpose of a small sparse matrix over GF(2). The issue occurs in recent distributions of GAP, such asGAP 4.12.2 (2022-12-18) / Gauss 2022.11-01
andGAP 4.13.0 (2024-03-15) / Gauss 2023.02-04
. The issue can be reproduced by running the following code in GAP:I'm getting the following output:
Am I doing something wrong, or is there a bug here?
The text was updated successfully, but these errors were encountered: