Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gcdx infinite loop #1793

Open
fingolfin opened this issue Jun 13, 2024 · 1 comment
Open

gcdx infinite loop #1793

fingolfin opened this issue Jun 13, 2024 · 1 comment

Comments

@fingolfin
Copy link
Member

julia> R, t = ZZ[:t]

julia> f = 57*t^6 + 63*t^5 + 299*t^4 + 753*t^3 + 511*t^2 + 292*t + 83

julia> g = 225*t^2 + 299*t + 178

julia> gcd(f,g)
1

julia> gcdx(f,g)  # <- hangs

does not terminate (at least in general, of course I did not test all cases).

Not sure if we can do something about it, but my students (who stumbled into this by accident) were surprised.

@thofma
Copy link
Member

thofma commented Jun 13, 2024

It should be an error. The method should be removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants