#4320: linear codes improvements [with patch, needs work]
---------------------------+------------------------------------------------
 Reporter:  wdj            |        Owner:  rlm     
     Type:  enhancement    |       Status:  new     
 Priority:  major          |    Milestone:  sage-3.2
Component:  coding theory  |   Resolution:          
 Keywords:                 |  
---------------------------+------------------------------------------------
Comment (by wdj):

 Thanks for all these great comments.
 I have had the patch ready for a day or so now but am having trouble with
 the process. Problem: I run sage -t on linear_codes.py and
 code_constructions.py. They pass. sage -testall fails every time with
 this:

 {{{
  sage -t  devel/sage/sage/coding/linear_code.py
 **********************************************************************
 File "/home/wdj/sagefiles/sage-3.2.alpha0/tmp/linear_code.py", line 1950:
     sage: C.spectrum(method="leon")
 Exception raised:
     Traceback (most recent call last):
       File
 "/home/wdj/sagefiles/sage-3.2.alpha0/local/lib/python2.5/doctest.py", line
 1228, in __run
         compileflags, 1) in test.globs
       File "<doctest __main__.example_44[10]>", line 1, in <module>
         C.spectrum(method="leon")###line 1950:
     sage: C.spectrum(method="leon")
       File "/home/wdj/sagefiles/sage-3.2.alpha0/local/lib/python2.5/site-
 packages/sage/coding/linear_code.py", line 2009, in spectrum
         Wts[x[0]]=x[1]
     IndexError: list assignment index out of range
 **********************************************************************
 }}}
 I cannot figure this one out.

 Any ideas?

 The new patch is rebased on 3.2.alpha0 and does not (I'm pretty sure)
 depend on the other patch.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4320#comment:5>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to