[Numpy-svn] [numpy/numpy] c51358: BUG: Index arrays need to be cast with SAME_KIND o...

GitHub noreply at github.com
Wed Feb 19 12:41:44 EST 2014


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: c513585f5a5eb16fc5d06f161de89a5989f3537d
      https://github.com/numpy/numpy/commit/c513585f5a5eb16fc5d06f161de89a5989f3537d
  Author: Sebastian Berg <sebastian at sipsolutions.net>
  Date:   2014-02-19 (Wed, 19 Feb 2014)

  Changed paths:
    M numpy/core/src/multiarray/mapping.c
    M numpy/core/tests/test_indexing.py

  Log Message:
  -----------
  BUG: Index arrays need to be cast with SAME_KIND or FORCE casting

When checking index arrays for out of bound values, safe casting
was used. In principle this is unsafe, but we need to support indexing
with a 64bit integer array on 32bit systems.

Closes gh-4328


  Commit: 3aaf365b34158ceca0f80cb42e64a7e362302214
      https://github.com/numpy/numpy/commit/3aaf365b34158ceca0f80cb42e64a7e362302214
  Author: Julian Taylor <juliantaylor108 at gmail.com>
  Date:   2014-02-19 (Wed, 19 Feb 2014)

  Changed paths:
    M numpy/core/src/multiarray/mapping.c
    M numpy/core/tests/test_indexing.py

  Log Message:
  -----------
  Merge pull request #4329 from seberg/index-casting-rule

BUG: Index arrays need to be cast with SAME_KIND or FORCE casting


Compare: https://github.com/numpy/numpy/compare/8997167e0de9...3aaf365b3415


More information about the Numpy-svn mailing list