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

noreply at github.com noreply at github.com
Fri Mar 25 18:16:54 EDT 2011


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

Commit: 73ea5e7be76d77b6ac67b772b8770b0b12d67722
    https://github.com/numpy/numpy/commit/73ea5e7be76d77b6ac67b772b8770b0b12d67722
Author: Mark Wiebe <mwwiebe at 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