[Numpy-svn] [numpy/numpy] 20cee6: Call to byte_swap_vector should use dst, not d1, b...

GitHub noreply@github....
Wed Jun 19 19:58:50 CDT 2013


  Branch: refs/heads/maintenance/1.7.x
  Home:   https://github.com/numpy/numpy
  Commit: 20cee69c17e48ec9a266f6f59a48e83188b8b163
      https://github.com/numpy/numpy/commit/20cee69c17e48ec9a266f6f59a48e83188b8b163
  Author: Andrew Horton <andrew.j.horton@gmail.com>
  Date:   2013-06-19 (Wed, 19 Jun 2013)

  Changed paths:
    M numpy/core/src/multiarray/ctors.c

  Log Message:
  -----------
  Call to byte_swap_vector should use dst, not d1, because this is
modified by the call to the strided memcpy and will end up pointing
after the end of the destination buffer in that case.





More information about the Numpy-svn mailing list