Commit 9a147ba2 authored by Martin Bauer's avatar Martin Bauer
Browse files

Bugfix in Field.Access

- hash function was not correctly implemented
- sometimes this caused a bug where latex version was not correctly displayed
parent d5a8952f
......@@ -586,7 +586,7 @@ class Field:
def _hashable_content(self):
super_class_contents = list(super(Field.Access, self)._hashable_content())
t = tuple(super_class_contents + [hash(self._field), self._index] + self._offsets)
t = tuple(super_class_contents + [id(self._field), self._index] + self._offsets)
return t
def _latex(self, _):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment