summaryrefslogtreecommitdiff
path: root/pavement.py
diff options
context:
space:
mode:
authorMark Wiebe <mwwiebe@gmail.com>2011-03-15 11:14:03 -0700
committerMark Wiebe <mwwiebe@gmail.com>2011-03-15 11:18:57 -0700
commitaada93306acfb4e2eb816faf32652edf8825cf45 (patch)
treea55c8e872bf8f1c0c714151edf9209b9cbde8306 /pavement.py
parentc1bec1ddc38648b415df4387e4172e32c29a1d94 (diff)
downloadnumpy-aada93306acfb4e2eb816faf32652edf8825cf45.tar.gz
ENH: Add 'subok' parameter to PyArray_NewLikeArray, np.empty_like, np.zeros_like, and np.ones_like
This way, the sub-type can be avoided if necessary. This helps mitigate, but doesn't fix, ticket #1753, by allowing "b = np.empty_like(a, subok=False)".
Diffstat (limited to 'pavement.py')
0 files changed, 0 insertions, 0 deletions