Commit 197af1ee authored by theos's avatar theos
Browse files

Fixed a bug in the _ignore_for_hash attribute in PowerSpace, causing __hash__ to fail.

parent 80eb0f82
......@@ -19,7 +19,8 @@ class PowerSpace(Space):
dtype=np.dtype('float')):
super(PowerSpace, self).__init__(dtype)
self._ignore_for_hash += ['_pindex', '_kindex', '_rho']
self._ignore_for_hash += ['_pindex', '_kindex', '_rho', '_pundex',
'_k_array']
if not isinstance(harmonic_domain, Space):
raise ValueError(
......
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