- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 567
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
Polynomial encoder for GRS codes fails if variable name is not x #20744
Comments
comment:2
I fixed the bug, this is now open for review. Best, David New commits:
|
Commit: |
comment:3
I was wondering whether it would make more sense to have an option to give the polynomial ring? But I'm not sure it would. For One could also, for usability, make a method |
comment:4
Yes, I think it's important to be consistent between similar modules. |
comment:6
I did what we talked about, and added related input checks and David |
comment:7
Replying to @sagetrac-dlucas:
Cool. You also need a check that
Yes, that's why I suggested making it an "alias of |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:9
Done. I also removed |
Reviewer: Johan S. R. Nielsen |
comment:10
This looks good. I approve of the changes. However, I can't currently compile Sage on my machine, so I can't really test the patch :-S |
comment:12
I updated this ticket to latest beta, and fixed a bug ( This is still open for review. David |
comment:13
Hi David This new feature is not examplified when typing I suggest there should be an example with 'y' or 'my_variable' in the EXAMPLE section of the docstring. That could be quickly done by migrating part of the existing code in the TEST section to the EXAMPLE section. Daniel |
Changed branch from u/dlucas/grs_polynomial_encoder_msg_space_fix to u/jlavauzelle/grs_polynomial_encoder_msg_space_fix |
Changed branch from u/jlavauzelle/grs_polynomial_encoder_msg_space_fix to u/dlucas/grs_polynomial_encoder_msg_space_fix |
comment:15
Hi, I merged to the latest beta (7.4.beta3) and made the fix according to Daniel's comment. I also approve the changes. Need someone for a definitive review (I guess). Julien |
Changed branch from u/dlucas/grs_polynomial_encoder_msg_space_fix to u/jlavauzelle/grs_polynomial_encoder_msg_space_fix |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:19
Hi Johan, That's true, sorry. Fixed. Julien |
Changed keywords from none to sd75 |
Author: Julien Lavauzelle, David Lucas |
Changed reviewer from Johan S. R. Nielsen to Johan Rosenkilde, Daniel Augot |
Changed branch from u/jlavauzelle/grs_polynomial_encoder_msg_space_fix to |
The following:
fails because the polynomial to encode has to be in
'x'
with the actual implementation.This ticket fixes it, by allowing the user to specify a variable name when creating the encoder.
CC: @johanrosenkilde @jlavauzelle @sagetrac-panda314
Component: coding theory
Keywords: sd75
Author: Julien Lavauzelle, David Lucas
Branch/Commit:
e5fef36
Reviewer: Johan Rosenkilde, Daniel Augot
Issue created by migration from https://trac.sagemath.org/ticket/20744
The text was updated successfully, but these errors were encountered: