-
-
Notifications
You must be signed in to change notification settings - Fork 560
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
Unexpected AttributeError: 'PowerSeriesRing_over_field_with_category' object has no attribute '_pseudo_fraction_field'
#39684
Comments
datapoint: this still seems to work fine in 10.5.beta6 and indeed takes a fraction field for the scalar:
|
Oh, I'm not sure if the change to Laurent Series Ring should be welcomed here. |
Yes, the change to Laurent series ring is as advertised: inverting an element of K leads to an element in its fraction field. You can use
if you want the inverse of an element you know is a unit, as an element of the ring. |
@nbruin: Ok, it seems that what I really miss here is the ability to compute
There is a related issue #38570, which is however about multivariate power series, while here we have a univariate one. |
That issue is about
they just need to be exposed under For multivariate power series rings it's a little trickier because these are not euclidean rings. One can define "remainder" in those cases by imposing an appropriate (local) monomial ordering. Alternatively, we could just have |
This is what I have in mind for multivariate power series. I'd really appreciate it implemented. |
Hi @maxale, |
@vidipsingh testing for unit may be a bad idea - please see discussion in #39318 (comment) Anyway, @nbruin is an expert here and can provide much better feedback. |
Hi @maxale, Thanks for the feedback! I'll check out the discussion. |
Steps To Reproduce
Expected Behavior
x/(1-z)
should work similarly tox*(1/(1-z))
.Actual Behavior
It errors out.
Additional Information
The code works fine in Sage 10.2, and so it was broken some time recently.
Environment
Checklist
The text was updated successfully, but these errors were encountered: