Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Neel Shah
NIFTy
Commits
3eba13ae
Commit
3eba13ae
authored
Oct 06, 2017
by
Theo Steininger
Browse files
Added _needed_for_hash to FieldArray
parent
4c2a4012
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty/field_types/field_array.py
View file @
3eba13ae
...
...
@@ -24,6 +24,8 @@ class FieldArray(FieldType):
def
__init__
(
self
,
shape
):
super
(
FieldArray
,
self
).
__init__
()
self
.
_needed_for_hash
+=
[
"_shape"
]
try
:
self
.
_shape
=
tuple
([
int
(
i
)
for
i
in
shape
])
except
TypeError
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment