-
-
Notifications
You must be signed in to change notification settings - Fork 596
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
Conversion from formal series to lazy power/LaurentSeriesRing give confusing error message #39840
Comments
This actually doesn't make sense because the input is not exact; it truncates the data to a finite amount. As such, @mantepse should we forbid it and similar such things (e.g., finite precision power series) as input? |
I agree with @tscrim. I encountered various issues with the element constructors in the lazy series framework, I think it would be good to make them more uniform and possibly a bit stricter. This term I won't be able to work on it, though. |
What do you mean it doesn't make sense? Elements of
(Granted you can ask why doesn't the user not just use |
No, they have infinite precision. You should look at the type/parent after the |
Or to put it another way, if you do not call |
You're right here. I suppose we can improve the error message to inform the user to use normal PowerSeriesRing instead. |
Steps To Reproduce
Related but different: #39839, #39809
Expected Behavior
The conversion should redirect the user to use PowerSeriesRing or LaurentSeriesRing instead
Environment
Checklist
The text was updated successfully, but these errors were encountered: