Skip to content
Browse files

Merge pull request #1437 from Krastanov/subs_hashable_content

Correct the _hashable_content of Subs.
  • Loading branch information...
2 parents 1cc8817 + 9644d2f commit c84e5dfd2a8973297f249d33d2f60348c6ee57e1 @smichr smichr committed Jul 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 sympy/core/function.py
View
2 sympy/core/function.py
@@ -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:

0 comments on commit c84e5df

Please sign in to comment.
Something went wrong with that request. Please try again.