We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In SageMath 9.3.beta3:
sage: R.<x> = QQ[] sage: K.<a> = Qq(3).extension(x^2 + 1) sage: (x^2 + 1).base_extend(K).roots() [(a + O(3^20), 1), (2*a + 2*a*3 + 2*a*3^2 + 2*a*3^3 + 2*a*3^4 + 2*a*3^5 + 2*a*3^6 + 2*a*3^7 + 2*a*3^8 + 2*a*3^9 + 2*a*3^10 + 2*a*3^11 + 2*a*3^12 + 2*a*3^13 + 2*a*3^14 + 2*a*3^15 + 2*a*3^16 + 2*a*3^17 + 2*a*3^18 + 2*a*3^19 + O(3^20), 1)] sage: (x^2 + 1).roots(K) # should return the same as above []
This can be fixed by only using the factor_padic() method when we are looking for roots in Zp or Qp.
factor_padic()
Component: algebra
Author: Peter Bruin
Branch/Commit: 3dfbe69
3dfbe69
Reviewer: Marc Mezzarobba
Issue created by migration from https://trac.sagemath.org/ticket/31040
The text was updated successfully, but these errors were encountered:
Branch: u/pbruin/31040-roots_padic_extension_fields
Sorry, something went wrong.
Commit: 3dfbe69
lgtm!
Changed branch from u/pbruin/31040-roots_padic_extension_fields to 3dfbe69
f795800
No branches or pull requests
In SageMath 9.3.beta3:
This can be fixed by only using the
factor_padic()
method when we are looking for roots in Zp or Qp.Component: algebra
Author: Peter Bruin
Branch/Commit:
3dfbe69
Reviewer: Marc Mezzarobba
Issue created by migration from https://trac.sagemath.org/ticket/31040
The text was updated successfully, but these errors were encountered: