#19623: Syndrome decoder is not a syndrome decoder
-------------------------------------+-------------------------------------
Reporter: dlucas | Owner:
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-7.1
Component: coding theory | Resolution:
Keywords: | Merged in:
Authors: David Lucas | Reviewers: Julien Lavauzelle,
Report Upstream: N/A | Johan Sebastian Rosenkilde Nielsen
Branch: | Work issues:
u/dlucas/generic_decoders | Commit:
Dependencies: | 642dca41fd2aa2621d0756e17282de62fcfb0620
| Stopgaps:
-------------------------------------+-------------------------------------
Changes (by vbraun):
* status: positive_review => needs_work
Comment:
Something is broken in combination with #19897
{{{
sage -t --long src/doc/en/thematic_tutorials/coding_theory.rst
**********************************************************************
File "src/doc/en/thematic_tutorials/coding_theory.rst", line 253, in
doc.en.thematic_tutorials.coding_theory
Failed example:
c_dec = C.decode_to_code(r)
Exception raised:
Traceback (most recent call last):
File "/home/buildslave-sage/slave/sage_git/build/local/lib/python2.7
/site-packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/buildslave-sage/slave/sage_git/build/local/lib/python2.7
/site-packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest doc.en.thematic_tutorials.coding_theory[29]>", line
1, in <module>
c_dec = C.decode_to_code(r)
File "/home/buildslave-sage/slave/sage_git/build/local/lib/python2.7
/site-packages/sage/coding/linear_code.py", line 1656, in decode_to_code
D = self.decoder(decoder_name, **kwargs)
File "sage/misc/cachefunc.pyx", line 1909, in
sage.misc.cachefunc.CachedMethodCaller.__call__ (/home/buildslave-
sage/slave/sage_git/build/src/build/cythonized/sage/misc/cachefunc.c:9941)
w = self._instance_call(*args, **kwds)
File "sage/misc/cachefunc.pyx", line 1785, in
sage.misc.cachefunc.CachedMethodCaller._instance_call (/home/buildslave-
sage/slave/sage_git/build/src/build/cythonized/sage/misc/cachefunc.c:9408)
return self.f(self._instance, *args, **kwds)
File "/home/buildslave-sage/slave/sage_git/build/local/lib/python2.7
/site-packages/sage/coding/linear_code.py", line 1739, in decoder
D = decClass(self, **kwargs)
File "/home/buildslave-sage/slave/sage_git/build/local/lib/python2.7
/site-packages/sage/coding/linear_code.py", line 4173, in __init__
self._lookup_table = self._build_lookup_table()
File "sage/misc/cachefunc.pyx", line 2235, in
sage.misc.cachefunc.CachedMethodCallerNoArgs.__call__ (/home/buildslave-
sage/slave/sage_git/build/src/build/cythonized/sage/misc/cachefunc.c:12406)
self.cache = f(self._instance)
File "/home/buildslave-sage/slave/sage_git/build/local/lib/python2.7
/site-packages/sage/coding/linear_code.py", line 4298, in
_build_lookup_table
lookup[s] = copy(e)
MemoryError
**********************************************************************
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/19623#comment:45>
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.