On Oct 14, 10:54 am, mrotsliah <mrotsl...@gmail.com> wrote: > I have Sage 4.1.1 install on a server, and I run the following code, > which outputs the following error: > > sage: A3=SteenrodAlgebra(3) > sage: A3.P(36,6)*A3.P(27,9,81) > --------------------------------------------------------------------------- > KeyError Traceback (most recent call > last)
[snip] > 225 t = tuple(diagonal[:i+1]) > 226 if result.has_key((e,t)): > --> 227 result[(e,t)] = F(coeff + result[t]) > 228 else: > 229 result[(e,t)] = F(coeff) The problem is in the line marked 227: "result[t]" should be "result [(e,t)]". If you make that change in SAGE_ROOT/devel/sage/sage/ algebras/steenrod_milnor_multiplication_odd.py, then type "sage -b", the problem should go away. This bug is being tracked at <http://trac.sagemath.org/sage_trac/ticket/7212> John --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---