summaryrefslogtreecommitdiff
path: root/numpy/polynomial/polytemplate.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/polynomial/polytemplate.py')
-rw-r--r--numpy/polynomial/polytemplate.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/polynomial/polytemplate.py b/numpy/polynomial/polytemplate.py
index 0505ba5f0..f315915d6 100644
--- a/numpy/polynomial/polytemplate.py
+++ b/numpy/polynomial/polytemplate.py
@@ -79,6 +79,8 @@ class $name(pu.PolyBase) :
window = np.array($domain)
# Don't let participate in array operations. Value doesn't matter.
__array_priority__ = 1000
+ # Not hashable
+ __hash__ = None
def has_samecoef(self, other):
"""Check if coefficients match.