summaryrefslogtreecommitdiff
path: root/numpy/core/arrayprint.py
diff options
context:
space:
mode:
authorMathieu Lamarre <mlamarre@ea.com>2018-02-08 11:00:06 -0500
committerMathieu Lamarre <mlamarre@ea.com>2018-02-08 11:00:21 -0500
commit6c4a77bf87b8a6fcadd7a128f73b8f2954642bec (patch)
tree58a67377975e04713960981aa2e05ba2dfc7ebde /numpy/core/arrayprint.py
parent12668b65791ef5a5104007e26c53e598b4416235 (diff)
downloadnumpy-6c4a77bf87b8a6fcadd7a128f73b8f2954642bec.tar.gz
Swig tool: Clear CARRAY flag when setting FARRAY
Otherwise the returned array has both flags, which creates all sorts of confusing runtime behaviors. C_CONTIGUOUS : True F_CONTIGUOUS : True Doesn't cause a crash, but some functions like copy() works in F_CONTIGUOUS others like element wise operators assume C_CONTIGUOUS, obviously this becomes a nightmare to debug.
Diffstat (limited to 'numpy/core/arrayprint.py')
0 files changed, 0 insertions, 0 deletions