Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
6abc0315
Commit
6abc0315
authored
Oct 07, 2017
by
Martin Reinecke
Browse files
add missing element for hashing
parent
c9c5cfe0
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty/field_types/field_array.py
View file @
6abc0315
...
...
@@ -23,6 +23,7 @@ from functools import reduce
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
Supports
Markdown
0%
Try again
or
attach a new 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