summaryrefslogtreecommitdiff
path: root/numpy/polynomial/chebyshev.py
diff options
context:
space:
mode:
authornjsmith <njs@pobox.com>2013-04-02 08:53:45 -0700
committernjsmith <njs@pobox.com>2013-04-02 08:53:45 -0700
commita939f2aa83e7d37d5e35e7c2a8c539c59f682598 (patch)
treea5d3044d62baa8f52b2d7f42cfde58efd364eaf1 /numpy/polynomial/chebyshev.py
parent5b74363e020f90f09dd41916dfc749d56421b3fa (diff)
parent670b12649e34164514fc4981d8fbacfadf1f389e (diff)
downloadnumpy-a939f2aa83e7d37d5e35e7c2a8c539c59f682598.tar.gz
Merge pull request #3178 from charris/2to3-apply-import-fixer
2to3 apply import fixer
Diffstat (limited to 'numpy/polynomial/chebyshev.py')
-rw-r--r--numpy/polynomial/chebyshev.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/polynomial/chebyshev.py b/numpy/polynomial/chebyshev.py
index 9576a4697..dde4966e7 100644
--- a/numpy/polynomial/chebyshev.py
+++ b/numpy/polynomial/chebyshev.py
@@ -85,13 +85,13 @@ References
(preprint: http://www.math.hmc.edu/~benjamin/papers/CombTrig.pdf, pg. 4)
"""
-from __future__ import division
+from __future__ import division, absolute_import
import numpy as np
import numpy.linalg as la
-import polyutils as pu
+from . import polyutils as pu
import warnings
-from polytemplate import polytemplate
+from .polytemplate import polytemplate
__all__ = ['chebzero', 'chebone', 'chebx', 'chebdomain', 'chebline',
'chebadd', 'chebsub', 'chebmulx', 'chebmul', 'chebdiv', 'chebpow',
@@ -416,7 +416,7 @@ def cheb2poly(c) :
array([ -2., -8., 4., 12.])
"""
- from polynomial import polyadd, polysub, polymulx
+ from .polynomial import polyadd, polysub, polymulx
[c] = pu.as_series([c])
n = len(c)