Closed
Description
sage: L = LazyPowerSeriesRing(QQ)
sage: x = L.gen()
sage: L.zero().coefficients(4)
[0, 0, 0, 0]
sage: x.coefficients(4)
[0, 1, 0, 0]
Correct so far...
sage: (L.zero() + x).coefficients(4)
[0, 0, 0, 0]
sage: (L.zero() - x).coefficients(4)
[0, 0, 0, 0]
But x - L.zero()
and x + L.zero()
return correct results.
See also #15248 for another lazy power series bug.
CC: @mwhansen @mantepse @tscrim
Component: algebra
Keywords: LazyPowerSeries, species
Stopgaps: incorrectAnswerMarker
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/15249