[Numpy-svn] [numpy/numpy] 2df403: BUG: more on inplace reductions, fixes #615

GitHub noreply at github.com
Mon Mar 28 15:03:23 EDT 2016


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 2df40376a944c39dbd68ac4510c3aa65a31ddf92
      https://github.com/numpy/numpy/commit/2df40376a944c39dbd68ac4510c3aa65a31ddf92
  Author: Jaime Fernandez <jaimefrio at google.com>
  Date:   2016-03-27 (Sun, 27 Mar 2016)

  Changed paths:
    M numpy/core/src/umath/ufunc_object.c

  Log Message:
  -----------
  BUG: more on inplace reductions, fixes #615

This is a follow up to #7407 and #7466. It fixes an error in the
comments (0 is the output and 1 is the input), moves them around so
they apply to both branches of the if/else, and changes memcpy to
memmove, since the memory segments can be overlapping, as pointed
out by Valgrind in a really old issue.


  Commit: 75c5af30d7137fd308227028ebdee31dbe841e7f
      https://github.com/numpy/numpy/commit/75c5af30d7137fd308227028ebdee31dbe841e7f
  Author: seberg <sebastian at sipsolutions.net>
  Date:   2016-03-28 (Mon, 28 Mar 2016)

  Changed paths:
    M numpy/core/src/umath/ufunc_object.c

  Log Message:
  -----------
  Merge pull request #7468 from jaimefrio/inplace_reduction_memmove

BUG: more on inplace reductions, fixes #615


Compare: https://github.com/numpy/numpy/compare/3327c388f519...75c5af30d713


More information about the Numpy-svn mailing list