Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #11432 from mattip/refactor-new_array_for_sum | Marten van Kerkwijk | 2018-06-30 | 4 | -196/+120 |
|\ | | | | | MAINT: Refactor differences between cblas_matrixproduct and PyArray_MatrixProduct2 | ||||
| * | MAINT: refactor duplicate code into 'common.c' | mattip | 2018-06-29 | 4 | -196/+120 |
| | | |||||
* | | Merge pull request #11440 from jackvreeken/fix-interp-for-nan-inf | Eric Wieser | 2018-06-29 | 1 | -0/+8 |
|\ \ | |/ |/| | BUG: fix interpolation with inf and NaN present | ||||
| * | BUG: fix interpolation with inf and NaN present | Jack Vreeken | 2018-06-29 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | | | Values like NaN and inf would result in wrong interpolated values on exactly matching sampling points. To produce the correct behavior, we add an additional check to avoid interpolation when handling such a point. Closes #11439 | ||||
* | | Merge pull request #11406 from mattip/einsum-out-is-res | Charles Harris | 2018-06-29 | 2 | -18/+15 |
|\ \ | | | | | | | BUG: ensure ret is out in einsum | ||||
| * | | MAINT: cleanup ret assignment | mattip | 2018-06-27 | 1 | -20/+7 |
| | | | |||||
| * | | check for unlikely error in Assign_Zero | mattip | 2018-06-24 | 1 | -1/+3 |
| | | | |||||
| * | | BUG: ensure ret is out in einsum | mattip | 2018-06-21 | 2 | -1/+9 |
| | | | |||||
* | | | Merge pull request #11425 from eric-wieser/where-nonzero-docs | Marten van Kerkwijk | 2018-06-29 | 1 | -7/+14 |
|\ \ \ | | | | | | | | | DOC: Clear up confusion between np.where(cond) and np.where(cond, x, y) | ||||
| * | | | DOC: Clear up confusion between np.where(cond) and np.where(cond, x, y) | Eric Wieser | 2018-06-29 | 1 | -7/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Eliminates all mentions of `np.where(cond)`, instead pointing the reader to np.nonzero. Also changes some example numbers to avoid collisions, making them easier to follow. Some minor doc improvements for np.ma.where too. | ||||
* | | | | MAINT: Split off getting overrides and checking for them. | Marten van Kerkwijk | 2018-06-28 | 3 | -76/+144 |
| | | | | | | | | | | | | | | | | | | | | Code was getting too convoluted and both can be optimized in different ways. | ||||
* | | | | MAINT: Ensure __array_ufunc__ on given class is only called once. | Marten van Kerkwijk | 2018-06-28 | 2 | -9/+69 |
| |_|/ |/| | | | | | | | | | | | | | | | | | Overall, it likely doesn't matter much for performance, but it is more logical and more consistent with what python does: reverse operators are not called if the forward one of a given class already returned NotImplemented. | ||||
* | | | DOC: Update einsum docs (#11234) | attack68 | 2018-06-27 | 1 | -62/+161 |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Einsum docs improvements. * DOC: add information to numpy.core.einsumfunc * DOC: add information to numpy.core.einsumfunc * DOC: add information to numpy.core.einsumfunc * DOC: add information to numpy.core.einsumfunc * DOC: remove 'numpy.core','c_einsum' section from 'add_newdocs.py' * DOC: make :py:func links to all internal functions. * DOC: make :py:func links to all internal functions (minor corrections) * DOC: place `add_newdoc('numpy.core.multiarray','c_einsum'`,...) in file. * DOC: minor requested corrections * DOC: suggested optimize argument Example cases * DOC: copy amendments to second docstring location in add_newdocs.py * DOC: more descriptive text * DOC: required correction to specify a default argument. * DOC: minor presentation fix for example display in einsumfunc.py * DOC: amend c_einsum documentation version, add note about dual documentation | ||||
* | | BUG: Ensure comparisons on scalar strings pass without warning. | Marten van Kerkwijk | 2018-06-21 | 3 | -9/+22 |
|/ | |||||
* | Merge pull request #11282 from mhvk/array-comparison-not-implementeduntagged-65f99747b229ae7de4cc | Marten van Kerkwijk | 2018-06-21 | 3 | -223/+148 |
|\ | | | | | MAINT: move comparison operator special-handling out of ufunc parsing. | ||||
| * | MAINT: move failure code to its own function. | Marten van Kerkwijk | 2018-06-19 | 1 | -85/+110 |
| | | |||||
| * | MAINT: move comparison operator special-handling out of ufunc parsing. | Marten van Kerkwijk | 2018-06-18 | 3 | -223/+123 |
| | | | | | | | | | | | | | | | | The argument parsing for ufuncs contains special logic to enable returning NotImplemented for comparison functions. The ufuncs, however, should not have to know whether they were called via a python comparison operator, so this PR moves the logic to the operators, checking after ufunc failed whether a NotImplemented should be returned. | ||||
* | | Merge pull request #11340 from eric-wieser/fix-sctypeDict-clongdouble | Marten van Kerkwijk | 2018-06-21 | 2 | -22/+34 |
|\ \ | | | | | | | BUG: sctypeDict['f8'] randomly points to double or longdouble depending on non-deterministic dictionary iteration order | ||||
| * | | BUG: f8 randomly points to double or longdouble depending on ↵ | Eric Wieser | 2018-06-14 | 2 | -20/+30 |
| | | | | | | | | | | | | non-deterministic dictionary iteration order | ||||
| * | | MAINT: Replace ifs with assertions, since those conditions are never hit | Eric Wieser | 2018-06-14 | 1 | -24/+26 |
| | | | |||||
* | | | Merge pull request #11390 from charris/update-npyconfig | Ralf Gommers | 2018-06-21 | 1 | -0/+1 |
|\ \ \ | | | | | | | | | REL: Update numpyconfig.h for 1.15. | ||||
| * | | | REL: Update numpyconfig.h for 1.15. | Charles Harris | 2018-06-20 | 1 | -0/+1 |
| | |/ | |/| | |||||
* | | | Merge pull request #11385 from toslunar/enh-scalar-squeeze | Charles Harris | 2018-06-20 | 2 | -12/+18 |
|\ \ \ | | | | | | | | | Make scalar.squeeze accept axis arg | ||||
| * | | | Add scalar squeeze tests | Toshiki Kataoka | 2018-06-20 | 1 | -0/+16 |
| | | | | |||||
| * | | | Make scalar.squeeze accept axis arg | Toshiki Kataoka | 2018-06-20 | 1 | -12/+2 |
| | | | | |||||
* | | | | Merge pull request #11376 from mattip/remove-npyiter_close | Charles Harris | 2018-06-20 | 11 | -254/+84 |
|\ \ \ \ | |/ / / |/| | | | ENH: Remove NpyIter_Close | ||||
| * | | | fixes from review | mattip | 2018-06-19 | 4 | -9/+8 |
| | | | | |||||
| * | | | ENH: Remove NpyIter_Close | mattip | 2018-06-18 | 11 | -251/+82 |
| |/ / | |||||
* | | | MAINT: fixed typo in mapiter_trivial_@name@ description | Minkyu Lee | 2018-06-19 | 1 | -1/+1 |
| | | | |||||
* | | | BUG: changed hardcoded axis to 0 for checking indices | Minkyu Lee | 2018-06-19 | 1 | -2/+2 |
|/ / | |||||
* | | Merge pull request #11366 from eric-wieser/bad-warning | Charles Harris | 2018-06-17 | 2 | -13/+19 |
|\ \ | | | | | | | BUG/TST: String indexing should just fail, not emit a futurewarning | ||||
| * | | TST: Don't allow test_indexing to swallow all exceptions | Eric Wieser | 2018-06-17 | 1 | -12/+17 |
| | | | | | | | | | | | | This requires tweaking the pure-python emulation to throw the same type of exception | ||||
| * | | BUG: Don't emit a spurious warning for float_arr['str'], when it will just ↵ | Eric Wieser | 2018-06-17 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | error anyway There's no need to convert `a['test']` to `a['t', 'e', 's', 't']` before erroring Fixes #11364 | ||||
* | | | BUG: add missing NpyIter_Close in einsum | mattip | 2018-06-17 | 1 | -0/+2 |
| | | | |||||
* | | | HTTP -> HTTPS, and other linkrot fixes | Mike Toews | 2018-06-16 | 8 | -21/+22 |
| | | | |||||
* | | | BUG: decref in failure path; replace PyObject_Type by Py_TYPE | Marten van Kerkwijk | 2018-06-14 | 2 | -11/+14 |
| |/ |/| | | | | | | | PyObject_Type increases the reference count, which was not taken into account. | ||||
* | | MAINT: Make the keys of typeinfo lowercase once, not repeatedly | Eric Wieser | 2018-06-13 | 1 | -10/+9 |
| | | |||||
* | | MAINT: Filter out the real type info from typeinfo once, not repeatedly | Eric Wieser | 2018-06-13 | 1 | -24/+29 |
| | | |||||
* | | MAINT: Extract code present in both branches | Eric Wieser | 2018-06-13 | 1 | -6/+4 |
| | | |||||
* | | MAINT: Simplify skipping of integer types in _add_aliases | Eric Wieser | 2018-06-13 | 1 | -10/+15 |
| | | |||||
* | | MAINT: Use a set instead of a dictionary | Eric Wieser | 2018-06-13 | 1 | -4/+2 |
| | | |||||
* | | MAINT: Clarify intent of integer-naming code | Eric Wieser | 2018-06-13 | 1 | -1/+7 |
| | | |||||
* | | MAINT: Don't use dtype strings when the dtypes themselves can be used | Eric Wieser | 2018-06-13 | 1 | -3/+3 |
|/ | |||||
* | Merge pull request #11286 from mattip/einsum-overlap | Charles Harris | 2018-06-12 | 2 | -12/+27 |
|\ | | | | | BUG: einsum needs to check overlap on an out argument | ||||
| * | BUG: einsum needs to check overlap on an out argument | mattip | 2018-06-11 | 2 | -12/+27 |
| | | |||||
* | | MAINT: remove unused "npy_import" | Allan Haldane | 2018-06-12 | 1 | -14/+0 |
| | | |||||
* | | Merge pull request #11307 from pgunn/master_fix_earlier_diff | Charles Harris | 2018-06-11 | 2 | -0/+6 |
|\ \ | |/ |/| | BUG: Fix memmap regression when shape=None | ||||
| * | add test from issue | mattip | 2018-06-11 | 1 | -0/+5 |
| | | |||||
| * | Restore a line that I accidentally deleted rather than reverted in earlier diff | Pat Gunn | 2018-06-11 | 1 | -0/+1 |
| | | |||||
* | | MAINT: push back multifield copy->view changes to 1.16 | Allan Haldane | 2018-06-11 | 6 | -14/+139 |
|/ |