-
-
Notifications
You must be signed in to change notification settings - Fork 488
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
Calling a lazy power series ring twice summons demons from hell #15248
Comments
This comment has been minimized.
This comment has been minimized.
comment:2
Classic example of constructing "unique" objects over "non-identical-but-equal" bases. Excellent find! It's well-known this is bound to give problems, but I'm not sure we had such a clear example yet.
Since
After this it's unavoidable:
and you're hitting a more insidious form with
|
comment:3
Great job tracing this to its origins in 15 minutes! |
comment:4
Just saw this ticket by chance: funniest title ever :-) I should try that to my own tickets too... |
Changed keywords from lazy-power-series to LazyPowerSeries |
comment:6
This can be fixed by moving LazyPowerSeriesRing over to the new parent framework. I'll do this this evening. |
comment:7
A fix is in #15673 |
comment:11
This works now, since #32367. |
comment:12
is this doctested ? where exactly ? |
comment:13
This isn't something specific to lazy power series, it is an issue for any ring where we can have equal-but-not-identical instances as per Nil's comment:2. We just need to find another instance of this with a different base ring. |
I agree. Moreover, I don't think it is helpful to keep this open. |
Sounds good so far. Now let's do this all again, in the same session:
This error does not persist if I set M to be
Matrix(R, [[x, x], [x, x]])
instead, so the coercion of 1 from integers to lazy power series seems to trigger the issue.CC: @simon-king-jena @mantepse
Component: coercion
Keywords: LazyPowerSeries
Issue created by migration from https://trac.sagemath.org/ticket/15248
The text was updated successfully, but these errors were encountered: