lcm broken for some polynomial rings

22 views
Skip to first unread message

atg...@gmail.com

unread,
Jun 22, 2021, 1:11:30 PM6/22/21
to sage-devel
Hello all,

The following code currently fails:

sage: K.<t> = GF(2)[]
sage: lcm(K(0), K(0))

In polynomial element, the lcm code attempts to divide by the gcd of the two polynomials, throwing a zero division error in this case. One possible fix would be to add a try except block to lcm in polynomial element to catch this error.

I opened ticket 32033 for this error.

Can anyone more knowledgeable about the polynomial implementation comment on this?

Thank you,
Alex
Reply all
Reply to author
Forward
0 new messages