Skip to content

Commit

Permalink
Fixed hash doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
Salvatore Stella committed Feb 17, 2017
1 parent 06000a4 commit 389cdc9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sage/algebras/cluster_algebra.py
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,8 @@ def __hash__(self):
sage: A = ClusterAlgebra(['A', 3])
sage: S = A.initial_seed()
sage: hash(S)
6108559638409052534
6108559638409052534 # 64-bit
1755906422 # 32-bit
"""
return hash(frozenset(self.g_vectors()))

Expand Down

0 comments on commit 389cdc9

Please sign in to comment.