diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2010-03-08 01:39:12 +0000 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2010-03-08 01:39:12 +0000 |
commit | 09996899f1aca598086b6690ed04b2590db82385 (patch) | |
tree | 7bfe1f65dbcced8c395928706da9b59bfb620a57 | |
parent | 9433d0cca87e7194f7a27e0c171a3be85549aed0 (diff) | |
download | numpy-09996899f1aca598086b6690ed04b2590db82385.tar.gz |
ENH: Don't let Chebyshev and Polynomial participate in array operations.
-rw-r--r-- | numpy/polynomial/polytemplate.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/polynomial/polytemplate.py b/numpy/polynomial/polytemplate.py index 72aa5743e..6e7698d4c 100644 --- a/numpy/polynomial/polytemplate.py +++ b/numpy/polynomial/polytemplate.py @@ -49,7 +49,10 @@ class $name(pu.PolyBase) : """ # Limit runaway size. T_n^m has degree n*2^m maxpower = 16 + # Default domain domain = np.array($domain) + # Don't let participate in array operations. Value doesn't matter. + __array_priority__ = 0 def __init__(self, coef, domain=$domain) : [coef, domain] = pu.as_series([coef, domain], trim=False) |