[Numpy-svn] [numpy/numpy] 0a9da0: BUG: np.insert must copy index array

GitHub noreply at github.com
Sat Apr 27 06:05:18 EDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 0a9da01121b0f13d4e87fa44fbff7ba04472e314
      https://github.com/numpy/numpy/commit/0a9da01121b0f13d4e87fa44fbff7ba04472e314
  Author: Sebastian Berg <sebastian at sipsolutions.net>
  Date:   2013-04-27 (Sat, 27 Apr 2013)

  Changed paths:
    M numpy/lib/function_base.py
    M numpy/lib/tests/test_function_base.py

  Log Message:
  -----------
  BUG: np.insert must copy index array

Otherwise it would do in-place changes to it. Fixes gh-3279.


  Commit: 0d9eac4bb25d43f3908efc54fd59348345e06c54
      https://github.com/numpy/numpy/commit/0d9eac4bb25d43f3908efc54fd59348345e06c54
  Author: seberg <sebastian at sipsolutions.net>
  Date:   2013-04-27 (Sat, 27 Apr 2013)

  Changed paths:
    M numpy/lib/function_base.py
    M numpy/lib/tests/test_function_base.py

  Log Message:
  -----------
  Merge pull request #3280 from seberg/issue-3279

BUG: np.insert must copy index array


Compare: https://github.com/numpy/numpy/compare/f8a21eff6a93...0d9eac4bb25d


More information about the Numpy-svn mailing list