diff options
| author | Pim de Haan <pimdehaan@gmail.com> | 2017-06-10 18:57:04 +0200 |
|---|---|---|
| committer | Pim de Haan <pimdehaan@gmail.com> | 2017-06-22 13:20:47 +0200 |
| commit | 4f8d9523ef29267932c933bd7e06b0a4e59b1df0 (patch) | |
| tree | 5d849b49c180461aa0edf67731b5d65a97bfc25a /doc | |
| parent | cfb909f35de8ad238066eb176bc408d86f15c9c8 (diff) | |
| download | numpy-4f8d9523ef29267932c933bd7e06b0a4e59b1df0.tar.gz | |
ENH: Make 0-length dim handling of tensordot consistent with dot/einsum
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/release/1.14.0-notes.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/release/1.14.0-notes.rst b/doc/release/1.14.0-notes.rst index aa4c69f9d..e819bfc2c 100644 --- a/doc/release/1.14.0-notes.rst +++ b/doc/release/1.14.0-notes.rst @@ -28,6 +28,12 @@ Build System Changes Compatibility notes =================== +``np.tensordot`` now returns zero array when contracting over 0-length dimension +-------------------------------------------------------------------------------- +Previously ``np.tensordot`` raised a ValueError when contracting over 0-length +dimension. Now it returns a zero array, which is consistent with the behaviour +of ``np.dot`` and ``np.einsum``. + C API changes ============= |
