Hi everyone,
Is there some reason why a generic change_ring() was not implemented for all ideals? This leads to a bug with univariate Laurent polynomials:
sage: L.<t> = LaurentPolynomialRing(QQ)
sage: I = L.ideal(0)
sage: I + I
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
...
AttributeError: 'Ideal_1poly_field' object has no attribute 'change_ring'
I imagine that just calling "return self.ring().parent().ideal(self.gens())" would work in general (and I think should for that matter).
This was noticed on PR #36368, where the author is working around it by implementing this for the class in question.
Best,
Travis