bug using toField twice

11 views
Skip to first unread message

naddi...@gmail.com

unread,
Sep 5, 2025, 12:56:53 PMSep 5
to Macaulay2
Dear All,

The following code generates an error, "internal error: ring element gcd computation failed," and then dumps core.

F = toField(QQ[i]/(i^2+1))
K = toField(F[r]/(r^4-2))
r^-1

I can work around it by doing

K = toField(QQ[i,r]/(i^2+1, r^4-2))
r^-1

but I thought someone might want to look into it.

Thanks,
Nick

naddi...@gmail.com

unread,
Sep 5, 2025, 1:51:10 PMSep 5
to Macaulay2
It also runs fine if I omit "toField" everywhere:

F = QQ[i]/(i^2+1)
K = F[r]/(r^4-2)
r^-1

Doug Torrance

unread,
Sep 6, 2025, 10:11:27 AMSep 6
to Macaulay2
Thanks for the report!  I've opened an issue on GitHub:

https://github.com/Macaulay2/M2/issues/3973
Reply all
Reply to author
Forward
0 new messages