[Numpy-svn] [numpy/numpy] 196186: BUG: PyArray_CopyAndTranspose function was buggy (...

noreply@githu... noreply@githu...
Fri Mar 25 17:13:34 CDT 2011

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

Commit: 196186daeb5b25a93d9e7ed79ddb8fec0c1811a5
Author: Mark Wiebe <mwwiebe@gmail.com>
Date:   2011-03-25 (Fri, 25 Mar 2011)

Changed paths:
  M numpy/core/src/multiarray/multiarraymodule.c
  A numpy/core/tests/test_api.py

Log Message:
BUG: PyArray_CopyAndTranspose function was buggy (#766)

I don't expect fastCopyAndTranspose to be able to be much faster than
using .T.copy(), since .T always returns a view. Thus, this function
implements .T.copy() in C as a replacement for the buggy code.

More information about the Numpy-svn mailing list