-
Notifications
You must be signed in to change notification settings - Fork 164
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
Bug in CosetLeadersMatFFE #5923
Comments
Nothing in the GAP library uses it, and the only distributed GAP package using it is That said, I'd be happy to review and merge a fix. BTW there is only a GAP method for Ah looking at the code there are kernel helper functions |
You're right about it being in the kernel helper function. I'm just assuming that the 8BITS version goes faster than the generic algorithm...
The coding theory jargon can be offputting. In the case we're looking at a "code" C is just the null space of Pragmatically, I think the C code in COSET_LEADERS_INNER_8BITS must be following the same algorithm as the GAP code Without the hack above we get
But with the 8BITS portion bypassed it's
So it looks like the 8BITS call is just not finishing the last bit... |
For matrices with entries in 8-bit fields, this function can return a list of coset leaders w/ missing entries.
A minimal example is
where the 2nd and 5th entries of L are unbound.
I discovered this issue in trying to track down a problem with the covering radius computation for error-correcting codes in the Guava package. It could well be the case that Guava is the only place where this function is used. If so, it would seem to be reasonable to remove this function from GAP and recreate the functionality in Guava. (I've done exactly that as a stop-gap measure for the latest Guava release - but my hack loses the faster approach available for 8-bit fields.) If, on the other hand, other parties are also using this function it should be repaired.
The text was updated successfully, but these errors were encountered: