Skip to content

Commit

Permalink
Merge pull request #1437 from Krastanov/subs_hashable_content
Browse files Browse the repository at this point in the history
Correct the _hashable_content of Subs.
  • Loading branch information
smichr committed Jul 21, 2012
2 parents 1cc8817 + 9644d2f commit c84e5df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sympy/core/function.py
Expand Up @@ -1445,7 +1445,7 @@ def __hash__(self):
return super(Subs, self).__hash__()

def _hashable_content(self):
return self._expr
return (self._expr, )

def _eval_subs(self, old, new):
if old in self.variables:
Expand Down

0 comments on commit c84e5df

Please sign in to comment.