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

noreply@githu... noreply@githu...
Fri Mar 25 17:16:54 CDT 2011

Branch: refs/heads/master
Home:   https://github.com/numpy/numpy

Commit: 73ea5e7be76d77b6ac67b772b8770b0b12d67722
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