Commit 6abc0315 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

add missing element for hashing

parent c9c5cfe0
...@@ -23,6 +23,7 @@ from functools import reduce ...@@ -23,6 +23,7 @@ from functools import reduce
class FieldArray(FieldType): class FieldArray(FieldType):
def __init__(self, shape): def __init__(self, shape):
super(FieldArray, self).__init__() super(FieldArray, self).__init__()
self._needed_for_hash += ["_shape"]
try: try:
self._shape = tuple([int(i) for i in shape]) self._shape = tuple([int(i) for i in shape])
except TypeError: except TypeError:
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