diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-06-20 07:27:43 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-06-20 07:27:43 +0000 |
commit | b29b5900de7389529d369f35a5f9629e8463c275 (patch) | |
tree | 611609935028c089e5d43c192be6e35ad7db5316 /numpy/numarray/util.py | |
parent | 4f3c3755d9fcbfd9ce0551c19bb893e7ba73db91 (diff) | |
download | numpy-b29b5900de7389529d369f35a5f9629e8463c275.tar.gz |
Fix reference-count problem in z **= 1 and more numarray compatiblity fixes.
Diffstat (limited to 'numpy/numarray/util.py')
-rw-r--r-- | numpy/numarray/util.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/numpy/numarray/util.py b/numpy/numarray/util.py index c9dbfade5..74b6e178b 100644 --- a/numpy/numarray/util.py +++ b/numpy/numarray/util.py @@ -28,3 +28,12 @@ def handleError(errorStatus, sourcemsg): print "Warning: Encountered underflow(s)", sourcemsg if modes['underflow'] == "raise": raise UnderflowError(sourcemsg) + + +import os +import numpy +def get_numarray_headers(): + base = os.path.dirname(numpy.__file__) + newdirs = [os.path.join(base, 'numarray')] + return newdirs + |