diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2010-03-08 01:33:43 +0000 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2010-03-08 01:33:43 +0000 |
commit | 4367c6fc59ac362474b59b276b508ac7f922c1d5 (patch) | |
tree | 4e2808f033c17b17bfe1dd8e399fa22c6dc96d20 /numpy/polynomial | |
parent | aae1bebc986f4d0578c1af27e9166ad8292d7a6d (diff) | |
download | numpy-4367c6fc59ac362474b59b276b508ac7f922c1d5.tar.gz |
ENH: Make Chebyshev and Polynomial classes dominate ndarrays.
Diffstat (limited to 'numpy/polynomial')
-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 f91e2d5e2..8314cecf9 100644 --- a/numpy/polynomial/polytemplate.py +++ b/numpy/polynomial/polytemplate.py @@ -63,7 +63,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) |