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 <https://trac.sagemath.org/ticket/32033> for this 
error.

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

Thank you,
Alex

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/9517fa8f-2fa8-4a46-9cef-943c8850957en%40googlegroups.com.

Reply via email to