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

gcd has wrong parent #23620

Closed
saraedum opened this issue Aug 14, 2017 · 6 comments
Closed

gcd has wrong parent #23620

saraedum opened this issue Aug 14, 2017 · 6 comments

Comments

@saraedum
Copy link
Member

Currently, the parent of a gcd might be wrong when the gcd of polynomials is just the gcd of its contents:

sage: R.<x> = ZpFM(2)[]
sage: f = 2*x + 2
sage: g = 4*x + 2
sage: f.gcd(g).parent() is R
False # parent is ZpFM(2)

Component: padics

Keywords: gcd

Author: Julian Rüth

Branch/Commit: ada3927

Reviewer: David Roe

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

@saraedum saraedum added this to the sage-8.1 milestone Aug 14, 2017
@saraedum

This comment has been minimized.

@saraedum
Copy link
Member Author

Branch: u/saraedum/gcd_has_wrong_parent

@roed314
Copy link
Contributor

roed314 commented Aug 15, 2017

Reviewer: David Roe

@roed314
Copy link
Contributor

roed314 commented Aug 15, 2017

comment:3

Looks good.


New commits:

ada3927gcd(f,g) has the same parent as f and g

@roed314
Copy link
Contributor

roed314 commented Aug 15, 2017

Commit: ada3927

@vbraun
Copy link
Member

vbraun commented Aug 17, 2017

Changed branch from u/saraedum/gcd_has_wrong_parent to ada3927

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

3 participants