Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Cleaned code.
Browse files Browse the repository at this point in the history
  • Loading branch information
tejasvicsr1 committed Jun 10, 2021
1 parent b439347 commit 350f2f9
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions src/sage/rings/lazy_laurent_series_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1022,17 +1022,4 @@ def __call__(self, s, n):
sage: f
2*z + 2*z^2
"""
return (n + 1) * self._series.coefficient(n + 1)

# def __hash__(self):
# """
# Return the hash of ``self``.

# TESTS::

# sage: L.<z> = LazyLaurentSeriesRing(ZZ)
# sage: f = 2*(z + z^2)
# sage: {f: 1}
# {2*z + 2*z^2: 1}
# """
# return hash((type(self), self._series, self._scalar))
return (n + 1) * self._series.coefficient(n + 1)

0 comments on commit 350f2f9

Please sign in to comment.