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

Infinite loop when evaluating polynomial over univariate fraction field #24547

Open
johanrosenkilde opened this issue Jan 16, 2018 · 1 comment

Comments

@johanrosenkilde
Copy link
Contributor

The last line of the following snipped runs until a maximum recursion depth exception is raised:

R.<a> = QQ[]
QR = R.fraction_field()
S.<b> = QR[]
p = b+1
print p(1)

Component: PLEASE CHANGE

Keywords: polynomial, fractionfield, multivariate

Issue created by migration from https://trac.sagemath.org/ticket/24547

@johanrosenkilde
Copy link
Contributor Author

comment:1

The following line also loops:

p(R(1))

but this line works:

p(S(1))

So it's a coercion thing...

@mkoeppe mkoeppe removed this from the sage-8.2 milestone Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants