> Are you saying, the error message it spits out, >> > AttributeError: 'int' object has no attribute 'list', > is misleading? >
As I see it the problem is that the sum runs over (0..n-1). Thus for n = 0 it returns by convention the integer 0 for the empty sum (is this correct?) which of course has no list. But shouldn't it return the null polynomial in this case? And isn't the null polynomial represented by the empty list? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/3d620312-b86e-400c-8d6b-252f9a56e42d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.