[Numpy-svn] [numpy/numpy] 2f431d: BUG: Fix use of PyArray_ISFORTRAN in numpy.i.
GitHub
noreply at github.com
Sun Nov 1 20:50:57 EST 2015
Branch: refs/heads/maintenance/1.10.x
Home: https://github.com/numpy/numpy
Commit: 2f431d111a989e899579145a1b3b736c90831a9c
https://github.com/numpy/numpy/commit/2f431d111a989e899579145a1b3b736c90831a9c
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2015-11-01 (Sun, 01 Nov 2015)
Changed paths:
M tools/swig/numpy.i
Log Message:
-----------
BUG: Fix use of PyArray_ISFORTRAN in numpy.i.
PyArray_ISFORTRAN was used to implement array_is_fortran in numpy.i when
what was wanted was PyArray_IS_F_CONTIGUOUS. The difference is that
PyArray_ISFORTRAN will return False if the array is c_contiguous.
Previous to relaxed stride checking this did not matter, but currently
arrays with ndim > 1 may be both C and Fortran contiguous and that
results in errors when PyArray_ISFORTRAN is mistakenly used to check for
Fortran contiguity.
Commit: 5c9e67b1ba489a9af2aa7124918bb3c09c50115d
https://github.com/numpy/numpy/commit/5c9e67b1ba489a9af2aa7124918bb3c09c50115d
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2015-11-01 (Sun, 01 Nov 2015)
Changed paths:
M numpy/core/numeric.py
Log Message:
-----------
DOC: Update documentation for isfortran.
Clarify isfortran checks if an array is both Fortran contiguous and
*not* C contiguous. The suggests that it only checks if the array is F
contiguous, but that is not the case.
Commit: ad2d67f141d6abe0bacea129e0622126ba1c7f21
https://github.com/numpy/numpy/commit/ad2d67f141d6abe0bacea129e0622126ba1c7f21
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2015-11-01 (Sun, 01 Nov 2015)
Changed paths:
M doc/release/1.10.2-notes.rst
Log Message:
-----------
DOC: Update 1.10.2 release notes to mention fix to numpy.i
Commit: b0eeb8c448708e2dd9100c4b93ba9e404a9dc6c3
https://github.com/numpy/numpy/commit/b0eeb8c448708e2dd9100c4b93ba9e404a9dc6c3
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2015-11-01 (Sun, 01 Nov 2015)
Changed paths:
M doc/release/1.10.2-notes.rst
M numpy/core/numeric.py
M tools/swig/numpy.i
Log Message:
-----------
Merge pull request #6604 from charris/backport-6596
Backport 6596
Compare: https://github.com/numpy/numpy/compare/e60d97073368...b0eeb8c44870
More information about the Numpy-svn
mailing list