[Numpy-svn] [numpy/numpy] f30cec: BUG: Support ndim=0 when constructing arrays from ...

GitHub noreply at github.com
Fri Nov 8 10:13:16 EST 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: f30cecb89264660b5818fedaf7ce1fbb3e35050b
      https://github.com/numpy/numpy/commit/f30cecb89264660b5818fedaf7ce1fbb3e35050b
  Author: Alexander Belopolsky <a at enlnt.com>
  Date:   2013-11-08 (Fri, 08 Nov 2013)

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

  Log Message:
  -----------
  BUG: Support ndim=0 when constructing arrays from buffer

Previously the buffer was interpreted as 1-dimensional when
no shape was provided, even when ndim was 0.

Closes gh-4015





More information about the Numpy-svn mailing list