diff options
author | Travis Oliphant <oliphant@enthought.com> | 2005-09-19 23:41:29 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2005-09-19 23:41:29 +0000 |
commit | 2d0b625d58a48525ded47c4d184ad3837e71c316 (patch) | |
tree | 6ee5981bd1723dfde53fbf92d7fba58e897188cb /scipy/base/oldscipy.py | |
parent | dc87df7f9c06d35ab172d9961f7c81a0148a212d (diff) | |
download | numpy-2d0b625d58a48525ded47c4d184ad3837e71c316.tar.gz |
Fixing some array scalar inconsistencies.
Diffstat (limited to 'scipy/base/oldscipy.py')
-rw-r--r-- | scipy/base/oldscipy.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/scipy/base/oldscipy.py b/scipy/base/oldscipy.py deleted file mode 100644 index d09496876..000000000 --- a/scipy/base/oldscipy.py +++ /dev/null @@ -1,10 +0,0 @@ - -# Need this to change array type for low precision values -# Should really be done with method call and rtype -# This is for backwards compatibility... -def sum(x, axis=0, rtype=None): - x = asarray(x) - if x.dtypechar in ['b','h','B','H']: - x = x.astype(intp) - return _nx.sum(x,axis) - |