summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--polymatrix/expressionstate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/polymatrix/expressionstate.py b/polymatrix/expressionstate.py
index 90cb4a9..e330337 100644
--- a/polymatrix/expressionstate.py
+++ b/polymatrix/expressionstate.py
@@ -125,7 +125,7 @@ class ExpressionState(StateCacheMixin):
"""
for v in self.indices.keys():
if v.name == name:
- return name
+ return v
return if_not_present