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

GitHub noreply at github.com
Mon Sep 9 21:22:05 EDT 2013


  Branch: refs/heads/maintenance/1.8.x
  Home:   https://github.com/numpy/numpy
  Commit: 0f9ee02191f175aed2c73532375c7bf557b91822
      https://github.com/numpy/numpy/commit/0f9ee02191f175aed2c73532375c7bf557b91822
  Author: Sebastian Berg <sebastian at 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: 79eb55809b090eff827f39570324fd41669156b0
      https://github.com/numpy/numpy/commit/79eb55809b090eff827f39570324fd41669156b0
  Author: Charles Harris <charlesr.harris at 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 #3717 from charris/backport-1.8-3715

Backport 1.8 3715


Compare: https://github.com/numpy/numpy/compare/cadf30792bc8...79eb55809b09


More information about the Numpy-svn mailing list