The code below fails on 6.7 with a RuntimeError. r = 2 C = codes.HammingCode(r, GF(2)) C.minimum_distance()
For r > 5 it seems to hang interminably, while back in November/December I could do r = 7 in a few seconds, and do r = 10 without waiting too long. Does anybody have any information on this one? I didn't locate anything in Trac or here. I'll make a ticket if nothing interesting surfaces. Rob Traceback for r = 2: Traceback (most recent call last): <snip> File "sage/misc/cachefunc.pyx", line 1896, in sage.misc.cachefunc. CachedMethodCaller.__call__ (build/cythonized/sage/misc/cachefunc.c:11488) File "sage/misc/cachefunc.pyx", line 2552, in sage.misc.cachefunc. CachedMethod._instance_call (build/cythonized/sage/misc/cachefunc.c:14934) File "/sage/sage-6.7/local/lib/python2.7/site-packages/sage/coding/linear_code.py" , line 2234, in minimum_distance return min_wt_vec_gap(Gstr,n,k,F).hamming_weight() File "/sage/sage-6.7/local/lib/python2.7/site-packages/sage/coding/linear_code.py" , line 412, in min_wt_vec_gap raise RuntimeError("there is a bug here!") RuntimeError: there is a bug here! -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.