summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--polymatrix/expression/expression.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/polymatrix/expression/expression.py b/polymatrix/expression/expression.py
index a7e2025..edb0830 100644
--- a/polymatrix/expression/expression.py
+++ b/polymatrix/expression/expression.py
@@ -526,9 +526,9 @@ class VariableExpression(Expression, Variable):
Expression that is a polynomial variable, i.e. an expression that cannot be
reduced further.
"""
-
- def __hash__(self):
- return self.underlying.__hash__()
+ @property
+ def var(self):
+ return self.underlying
@override
@property