Skip to content

Commit

Permalink
src/sage/rings/laurent_series_ring.py: Fix up
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Jun 27, 2024
1 parent 1425be2 commit 66637be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sage/rings/laurent_series_ring.py
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,8 @@ def _coerce_map_from_(self, P):
True
"""
A = self.base_ring()
if (isinstance(P, (LaurentSeriesRing, LaurentPolynomialRing_generic,
if (isinstance(P, (LaurentSeriesRing, LazyLaurentSeriesRing,
LaurentPolynomialRing_generic,
PowerSeriesRing_generic, LazyPowerSeriesRing,
PolynomialRing_general))
and P.variable_name() == self.variable_name()
Expand Down

0 comments on commit 66637be

Please sign in to comment.