-
-
Notifications
You must be signed in to change notification settings - Fork 528
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
Can't construct a rational fraction from a symbolic one. #7741
Comments
comment:2
Attachment: 7741-symbolic-frac.patch.gz |
Author: Robert Bradshaw |
Reviewer: Florent Hivert |
Work Issues: needs rebase |
Attachment: trac_7741-symbolic-frac-rebase.patch.gz rebased to 4.4.4 |
comment:6
William points out that Is this really preferable to PS, Passes tests in |
comment:7
Attachment: 7741-symbolic-frac-fixed.patch.gz Actually, the "is 1" was intentional, as I wasn't thinking of taking that path if the user passed in a ring element (as opposed to the default value) and didn't want to make the default value None and handle it everywhere. In retrospect, I think it's fine for it to be equal to 1. |
comment:8
apply only attachment: 7741-symbolic-frac-fixed.patch. |
Changed work issues from needs rebase to none |
Changed reviewer from Florent Hivert to Florent Hivert, Burcin Erocal |
Merged: sage-4.6.alpha2 |
Given a symbolic expression which is a rational fraction sage refuse to convert it to a element of the Field of rational fraction:
It seems that it needs to convert is to a polynomial. Of course if one convert numerator and denominator separately everything is Ok:
I'm not sure about which component should be selected... Is it algebra, calculus or coercion...
Florent
CC: @burcin
Component: coercion
Keywords: Fraction Field
Author: Robert Bradshaw
Reviewer: Florent Hivert, Burcin Erocal
Merged: sage-4.6.alpha2
Issue created by migration from https://trac.sagemath.org/ticket/7741
The text was updated successfully, but these errors were encountered: