Re: [sage-devel] Conversion bug: field to vector space
Ok. Now this is https://trac.sagemath.org/ticket/21723#ticket -- 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 https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Conversion bug: field to vector space
> It is indeed a problem! The interfaces should be compatible. Adding a > _vector_ method to the GF(p) elements should be enough. > > Also, from a quick check, all of the other implementations of finite fields provide a _vector_() method as well. So I think Vincent's fix is the way to go. Best, Travis -- 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 https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Conversion bug: field to vector space
It is indeed a problem! The interfaces should be compatible. Adding a _vector_ method to the GF(p) elements should be enough. Vincent -- 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 https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Conversion bug: field to vector space
Hi, I think this is a bug: sage: F.=GF(9) sage: V=F.vector_space() sage: V(a) (0, 1) sage: G.=GF(3) sage: W=G.vector_space() sage: W(b) ... TypeError: can't initialize vector from nonzero non-list The cause is sage: a._vector_() (0, 1) sage: b._vector_() ... AttributeError: 'sage.rings.finite_rings.integer_mod.IntegerMod_int' object has no attribute '_vector_' Do you agree? -- 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 https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.