#5067: [with patch, needs work] linear_code -- four doctest failures in spectrum
method='leon' exposed by #4588
---------------------------+------------------------------------------------
Reporter: was | Owner: rlm
Type: defect | Status: new
Priority: major | Milestone: sage-3.3
Component: coding theory | Resolution:
Keywords: |
---------------------------+------------------------------------------------
Changes (by wdj):
* summary: [with patch, needs review] linear_code -- four doctest
failures in spectrum method='leon' exposed by
#4588 => [with patch, needs work] linear_code
-- four doctest failures in spectrum
method='leon' exposed by #4588
Comment:
Applies cleanly to 3.3.alpha1.
However, it seems to still fail doctests:
{{{
./sage -t -optional /home/wdj/sagefiles/sage-3.3.alpha1/devel/sage-
spectrum/sage/coding/linear_code.py
sage -t -optional "devel/sage-spectrum/sage/coding/linear_code.py"
**********************************************************************
File "/home/wdj/sagefiles/sage-3.3.alpha1/devel/sage-
spectrum/sage/coding/linear_code.py", line 1975:
sage: C.spectrum() == C.spectrum(method="leon")
Expected:
True
#[1, 0, 0, 104, 468, 1404, 4056, 8424, 11934, 13442, 11232, 5616,
2080, 288]
Got:
True
**********************************************************************
File "/home/wdj/sagefiles/sage-3.3.alpha1/devel/sage-
spectrum/sage/coding/linear_code.py", line 1980:
sage: C.spectrum() == C.spectrum(method="leon")
Expected:
True
#[1, 0, 0, 80, 120, 264, 160]
Got:
True
**********************************************************************
File "/home/wdj/sagefiles/sage-3.3.alpha1/devel/sage-
spectrum/sage/coding/linear_code.py", line 1985:
sage: C.spectrum() == C.spectrum(method="leon")
Expected:
True
#[1, 0, 0, 336, 1680, 9072, 26544, 45744, 34272]
Got:
True
**********************************************************************
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5067#comment:4>
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
-~----------~----~----~----~------~----~------~--~---