summaryrefslogtreecommitdiff
path: root/numpy/core/setup_common.py
diff options
context:
space:
mode:
authorDavid Warde-Farley <wardefar@iro.umontreal.ca>2012-10-25 15:32:25 -0400
committerCharles Harris <charlesr.harris@gmail.com>2013-06-08 17:20:22 -0600
commitd661960b3489c83485a3aa83e909e2ee603e7422 (patch)
tree03a7129f16b145431fc50acfdaa6735ba443cb6f /numpy/core/setup_common.py
parent8dcf3979780819db9eb2fe912aa0275f7424d50e (diff)
downloadnumpy-d661960b3489c83485a3aa83e909e2ee603e7422.tar.gz
BUG: copy.(deep)copy should preserve F-contiguity
Currently, copy.deepcopy() on certain objects in scikit-learn results in the copied object being broken, as underlying methods depend on members being F-contiguous. I can think of no reason that F-contiguous arrays should not remain F-contiguous through a copy.copy/copy.deepcopy, therefore this alters the methods to use NPY_KEEPORDER when allocating the copy.
Diffstat (limited to 'numpy/core/setup_common.py')
0 files changed, 0 insertions, 0 deletions