diff options
author | Alan McIntyre <alan.mcintyre@local> | 2008-07-21 12:36:17 +0000 |
---|---|---|
committer | Alan McIntyre <alan.mcintyre@local> | 2008-07-21 12:36:17 +0000 |
commit | b8ecdad75b831eec62fb02e76d80a45f7ec9aa58 (patch) | |
tree | 029fb55d953485d62cbffe1e846117f72d3a498f /numpy/lib/function_base.py | |
parent | 8e86b69357c931b9dc0544d0210f7b2a0720ef11 (diff) | |
download | numpy-b8ecdad75b831eec62fb02e76d80a45f7ec9aa58.tar.gz |
Removed unused private function _asarray1d.
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r-- | numpy/lib/function_base.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py index 2204f1863..f0b941872 100644 --- a/numpy/lib/function_base.py +++ b/numpy/lib/function_base.py @@ -657,14 +657,6 @@ def select(condlist, choicelist, default=0): S = S*ones(asarray(pfac).shape, S.dtype) return choose(S, tuple(choicelist)) -def _asarray1d(arr, copy=False): - """Ensure 1D array for one array. - """ - if copy: - return asarray(arr).flatten() - else: - return asarray(arr).ravel() - def copy(a): """Return an array copy of the given object. """ |