diff options
Diffstat (limited to 'numpy/core/oldnumeric.py')
-rw-r--r-- | numpy/core/oldnumeric.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/oldnumeric.py b/numpy/core/oldnumeric.py index 797ac1087..4e3add5b4 100644 --- a/numpy/core/oldnumeric.py +++ b/numpy/core/oldnumeric.py @@ -192,9 +192,9 @@ def put (a, ind, v): is in C for speed): ind = array(indices, copy=False) - v = array(values, copy=False).astype(a, a.dtype) + v = array(values, copy=False).astype(a.dtype) for i in ind: a.flat[i] = v[i] - a must be a contiguous Numeric array. + a must be a contiguous numpy array. """ return a.put(v,ind) |