[Numpy-svn] [numpy/numpy] 766cac: BUG: Fix zero-padded copy when truncating (ticket ...

noreply@githu... noreply@githu...
Sat Mar 5 17:32:45 CST 2011

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

Commit: 766cac0cf7bd616476226377b3573778c0e38476
Author: Mark Wiebe <mwwiebe@gmail.com>
Date:   2011-03-05 (Sat, 05 Mar 2011)

Changed paths:
  M numpy/core/src/multiarray/dtype_transfer.c
  M numpy/core/src/multiarray/lowlevel_strided_loops.c.src

Log Message:
BUG: Fix zero-padded copy when truncating (ticket #1756)

Chuck's fix was correct, but there was another bug at play here.

I've also removed the _strided_to_contig and _contig_to_strided
specializations as they likely don't provide a significant advantage
over _strided_to_strided here.

More information about the Numpy-svn mailing list