diff options
author | Nao Pross <np@0hm.ch> | 2024-05-26 19:41:07 +0200 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2024-05-27 00:02:26 +0200 |
commit | 03b6dc64172d0422bb56007a6da7cd7e6e9eeb9d (patch) | |
tree | a21489aea5fdb777d1250f58927761d77053e49c | |
parent | Fix bug in CombinationExprMixin (diff) | |
download | polymatrix-03b6dc64172d0422bb56007a6da7cd7e6e9eeb9d.tar.gz polymatrix-03b6dc64172d0422bb56007a6da7cd7e6e9eeb9d.zip |
Fix bug in ExpressionState.get_variable_from_name_or
Diffstat (limited to '')
-rw-r--r-- | polymatrix/expressionstate.py | 2 |
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 |