[Numpy-svn] [numpy/numpy] 3a8276: BUG: Stricter checks for gufunc signatures
GitHub
noreply at github.com
Mon Oct 27 15:07:49 EDT 2014
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: 3a827637c9eca604315491e8e017b72f2d1f8837
https://github.com/numpy/numpy/commit/3a827637c9eca604315491e8e017b72f2d1f8837
Author: jaimefrio <jaime.frio at gmail.com>
Date: 2014-10-15 (Wed, 15 Oct 2014)
Changed paths:
M numpy/core/src/umath/ufunc_object.c
Log Message:
-----------
BUG: Stricter checks for gufunc signatures
* Arguments, both input and output, must have at least as many
dimensions as the corresponding number of core dimensions. In
previous versions, 1's were prepended to the shape as needed.
* Core dimensions with same labels must have exactly matching
sizes. In previous versions, core dimensions of size 1 would
broadcast against other core dimensions with the same label.
* All core dimensions must have their size specified by a passed
in input or output argument. In previous versions, core
dimensions in an output argument that were not specified in an
input argument, and whose size could not be inferred from a
passed in output argument, would have their size set to 1.
Commit: 140c50537087dccc764cd7540b46b039cb934530
https://github.com/numpy/numpy/commit/140c50537087dccc764cd7540b46b039cb934530
Author: jaimefrio <jaime.frio at gmail.com>
Date: 2014-10-15 (Wed, 15 Oct 2014)
Changed paths:
M numpy/core/src/umath/umath_tests.c.src
M numpy/core/tests/test_ufunc.py
Log Message:
-----------
TST: Stricter checks for gufunc signatures
Added euclidean_pdist to umath/umath_tests.c.src.
Modified tests to reflect new, stricter gufunc signature behavior.
Commit: 528bac1380c782772b9de207bb8466b03117b96d
https://github.com/numpy/numpy/commit/528bac1380c782772b9de207bb8466b03117b96d
Author: jaimefrio <jaime.frio at gmail.com>
Date: 2014-10-20 (Mon, 20 Oct 2014)
Changed paths:
M doc/release/1.10.0-notes.rst
M doc/source/reference/c-api.generalized-ufuncs.rst
M doc/source/reference/c-api.ufunc.rst
M numpy/core/src/umath/ufunc_object.c
M numpy/core/src/umath/umath_tests.c.src
M numpy/core/tests/test_ufunc.py
Log Message:
-----------
DOC: Stricter checks for gufunc signatures
Documented the the new behavior in c-api.generalized-ufuncs.rst.
Added PyUFunc_FromFuncAndDataAndSignature to c-api.ufunc.rst.
Commit: 16575443239fa84615fc795692a79ef27f25c216
https://github.com/numpy/numpy/commit/16575443239fa84615fc795692a79ef27f25c216
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2014-10-27 (Mon, 27 Oct 2014)
Changed paths:
M doc/release/1.10.0-notes.rst
M doc/source/reference/c-api.generalized-ufuncs.rst
M doc/source/reference/c-api.ufunc.rst
M numpy/core/src/umath/ufunc_object.c
M numpy/core/src/umath/umath_tests.c.src
M numpy/core/tests/test_ufunc.py
Log Message:
-----------
Merge pull request #5077 from jaimefrio/gufuncs_core_dim_no_broadcast
WIP: gufunc core dimensions should not broadcast
Compare: https://github.com/numpy/numpy/compare/23ee379e8643...16575443239f
More information about the Numpy-svn
mailing list