[Numpy-svn] [numpy/numpy] 576532: BUG: core: PyArray_NewFromDescr needs to update fl...

noreply at github.com noreply at github.com
Thu Jun 9 11:17:35 EDT 2011


Branch: refs/heads/maintenance/1.6.x
Home:   https://github.com/numpy/numpy

Commit: 57653253b4d662e8ecf91a284b3cf624863e283b
    https://github.com/numpy/numpy/commit/57653253b4d662e8ecf91a284b3cf624863e283b
Author: Mark Wiebe <mwiebe at enthought.com>
Date:   2011-06-09 (Thu, 09 Jun 2011)

Changed paths:
  M numpy/core/src/multiarray/ctors.c
  M numpy/core/tests/test_numeric.py

Log Message:
-----------
BUG: core: PyArray_NewFromDescr needs to update flags when strides != NULL (fixes #1863

This appears to have been a longstanding bug, but has come to the
surface because PyArray_NewLikeArray uses the function with a non-NULL
strides parameter and is used more frequently then other such uses.





More information about the Numpy-svn mailing list