Macaulay2 / M2

The primary source code repository for Macaulay2, a system for computing in commutative algebra, algebraic geometry and related fields.
https://macaulay2.com
345 stars 230 forks source link

Flint crash #3518

Open pzinn opened 5 days ago

pzinn commented 5 days ago
i1 : R=ZZ/2[x,y,z]

o1 = R

o1 : PolynomialRing

i2 : f = n -> x^n+y^n+z^n+(x+y+z)^n

o2 = f

o2 : FunctionClosure

i3 : factor f 15
Flint exception (General error):
    lenP < 2 in n_poly_mod_invmod
zsh: IOT instruction (core dumped)  ./M2

n=63 also crashes...

d-torrance commented 4 days ago

This appears to be a factory bug. See the stacktrace in #3523.