#20340: GRS decode_to_code and decode_to_message fail on messages in the code
-------------------------------------+-------------------------------------
       Reporter:  cprior             |        Owner:
           Type:  defect             |       Status:  new
       Priority:  major              |    Milestone:  sage-7.2
      Component:  coding theory      |   Resolution:
       Keywords:                     |    Merged in:
        Authors:                     |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/jlavauzelle/fix_decode_methods   |  4bca107e876219e61793fbfa5e8d7e2cbca1f044
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by dlucas):

 * commit:   => 4bca107e876219e61793fbfa5e8d7e2cbca1f044


Comment:

 Hello,

 Just a few remarks:

 - when you push a fix on a ticket, don't forget to change its state to
 `needs_review`
 - you can also put your (full) name on the `Authors` field
 - and when it's a bug fix, you can add a new doctest which shows the bug
 has been fixed, e.g.


 {{{
 EXAMPLES:

 The bug detailed in trac #20340 has been fixed::

     sage: C = codes.GeneralizedReedSolomonCode(GF(59).list()[:40], 12)
     sage: c = C.random_element()
     sage: D = C.decoder("BerlekampWelch")
     sage: D.decode_to_code(c) == c
     True
 }}}

 Otherwise, it seems all good to me!

 Best,

 David
 ----
 New commits:
 
||[http://git.sagemath.org/sage.git/commit/?id=4bca107e876219e61793fbfa5e8d7e2cbca1f044
 4bca107]||{{{Fixed error on _decode_to_code_and_message() methods}}}||

--
Ticket URL: <http://trac.sagemath.org/ticket/20340#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to