[Numpy-svn] [numpy/numpy] 906a88: BUG: Fix 0-sized ndindex

GitHub noreply@github....
Mon Sep 9 19:44:39 CDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 906a8848a3ea7eb0c5fa85653640b37caa08bbcd
      https://github.com/numpy/numpy/commit/906a8848a3ea7eb0c5fa85653640b37caa08bbcd
  Author: Sebastian Berg <sebastian@sipsolutions.net>
  Date:   2013-09-09 (Mon, 09 Sep 2013)

  Changed paths:
    M numpy/lib/index_tricks.py
    M numpy/lib/tests/test_index_tricks.py

  Log Message:
  -----------
  BUG: Fix 0-sized ndindex

The zerosize_ok flag to nditer was missing, so that it did not
allow for 0-sized iteration.

Closes gh-3714


  Commit: dfd9f5f5cd08f7fb9cf3cf0da1821f06f5464a09
      https://github.com/numpy/numpy/commit/dfd9f5f5cd08f7fb9cf3cf0da1821f06f5464a09
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2013-09-09 (Mon, 09 Sep 2013)

  Changed paths:
    M numpy/lib/index_tricks.py
    M numpy/lib/tests/test_index_tricks.py

  Log Message:
  -----------
  Merge pull request #3715 from seberg/ndindex-0size

BUG: Fix 0-sized ndindex


Compare: https://github.com/numpy/numpy/compare/72d238271e52...dfd9f5f5cd08


More information about the Numpy-svn mailing list