| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | MAINT,BUG: Fix mtrand for Cython 0.27. | Charles Harris | 2017-09-26 | 1 | -1/+11 |
| | | | | | | | | The `import_array()` macro, that defined a C code block that included a return, was not handled correctly. The fix here is to cdef a replacement `import_array` function with a defined error return. The new function is a slight variation of the corresponding function defined by Cython. | ||||
| * | BUG: ensure consistent result dtype of count_nonzero | Julian Taylor | 2017-09-24 | 2 | -13/+17 |
| | | | | | | | | The slowpath using apply_along_axis for size 1 axis did not ensure that the dtype is intp like all other paths. This caused inconsistent dtypes on windows where the default integer type is int32. Closes gh-9468 | ||||
| * | Merge pull request #9766 from charris/backport-9294 | Charles Harris | 2017-09-24 | 2 | -1/+9 |
| |\ | | | | | BUG: Fixes histogram monotonicity check for unsigned bin values | ||||
| | * | allow non-strictly increasing bins | Brandon Carter | 2017-09-24 | 1 | -1/+1 |
| | | | |||||
| | * | minor change to the logic | Brandon Carter | 2017-09-24 | 1 | -1/+1 |
| | | | |||||
| | * | BUG: fixes unsigned bins monotonicity check, see #9222 | Brandon Carter | 2017-09-24 | 1 | -1/+1 |
| | | | |||||
| | * | TST: add test for unsigned bins monotonicity check, see #9222 | Brandon Carter | 2017-09-24 | 1 | -0/+8 |
| | | | |||||
| * | | Merge pull request #9765 from charris/backport-9300 | Charles Harris | 2017-09-24 | 4 | -39/+53 |
| |\ \ | |/ |/| | BUG: PyArray_CountNonzero does not check for exceptions | ||||
| | * | ENH: release GIL in CountNonzero trivial loop | Allan Haldane | 2017-09-24 | 1 | -6/+18 |
| | | | |||||
| | * | MAINT: Simplify array_contains using PyArray_Any | Allan Haldane | 2017-09-24 | 2 | -76/+9 |
| | | | |||||
| | * | MAINT: array_any_nonzero now uses new iterator API | Allan Haldane | 2017-09-24 | 2 | -21/+59 |
| | | | |||||
| | * | BUG: PyArray_CountNonzero does not check for exceptions | Allan Haldane | 2017-09-24 | 3 | -2/+33 |
| | | | | | | | | | Fixes #9295 | ||||
| * | | BUG: Ensure `_npy_scaled_cexp{,f,l}` is defined when needed. | Charles Harris | 2017-09-24 | 1 | -1/+7 |
| |/ | | | | | | The `_npy_scaled_cexp{,f,l}` functions were previously only defined when the npy_cexp fallback functions were needed, but they are also called by the npy_csinh and npy_ccosh functions. | ||||
| * | Merge pull request #9747 from charris/backport-9724 | Charles Harris | 2017-09-22 | 2 | -2/+4 |
| |\ | | | | | BUG: adjust gfortran version search regex | ||||
| | * | BUG: adjust gfortran version search regex | Jonathan Helmus | 2017-09-22 | 2 | -2/+4 |
| | | | | | | | | | | | | | | | Adjust the gfortran regex to require a '.' to be present in the version number. This avoids matching a hash or text containing a '-' such as the version string from the compilers produced by crosstool-NG. For example: GNU Fortran (crosstool-NG 8a21ab48) 7.2.0 | ||||
| * | | Merge pull request #9746 from charris/backport-9624 | Charles Harris | 2017-09-22 | 2 | -1/+13 |
| |\ \ | | | | | | | BUG: memory leak in np.dot of size 0 | ||||
| | * | | TST: test for leak in np.dot of size 0 arrays | Michael Lamparski | 2017-09-22 | 1 | -0/+11 |
| | | | | |||||
| | * | | BUG: memory leak in np.dot of size 0 | Michael Lamparski | 2017-09-22 | 1 | -1/+2 |
| | |/ | |||||
| * | | Merge pull request #9745 from charris/backport-9682 | Charles Harris | 2017-09-22 | 6 | -49/+49 |
| |\ \ | | | | | | | DOC: Add whitespace after "versionadded::" directive so it actually displays in the docs | ||||
| | * | | DOC: Fix inline "math" directives [skip ci] | Michael Seifert | 2017-09-22 | 6 | -6/+6 |
| | | | | |||||
| | * | | DOC: Add whitespace after "versionadded::" directive | Michael Seifert | 2017-09-22 | 5 | -43/+43 |
| | |/ | | | | | | | | | | | so it actually displays in the docs [skip ci] | ||||
| * | | BUG: Check for exception in sort functions, add tests | mattip | 2017-09-22 | 3 | -8/+31 |
| |/ | |||||
| * | Merge pull request #9732 from charris/fix-scalar-elision | Charles Harris | 2017-09-22 | 2 | -2/+13 |
| |\ | | | | | BUG: Make scalar function elision check if temp is writeable. | ||||
| | * | MAINT: Use PyArray_CHKFLAGS in more places. | Charles Harris | 2017-09-22 | 1 | -2/+2 |
| | | | | | | | | | This is more direct than `PyArray_FLAGS(a) & AFLAG`. | ||||
| | * | BUG: Make scalar function elision check writeable. | Charles Harris | 2017-09-21 | 2 | -0/+11 |
| | | | | | | | | | | | | | | | Add checks for writeable and updateifcopy in the can_elide_temp_unary function. Closes #9679. | ||||
| * | | Merge pull request #9742 from charris/backport-pad-fixes | Charles Harris | 2017-09-22 | 2 | -0/+19 |
| |\ \ | | | | | | | BUG: Fix np.pad for CVE-2017-12852 | ||||
| | * | | BUG: fix padding an empty array in reflect mode. | Iryna Shcherbina | 2017-09-22 | 2 | -3/+15 |
| | | | | | | | | | | | | | Check that axes with non-zero padding are non-empty. | ||||
| | * | | BUG: fix infinite loop when creating np.pad on an empty array | Iryna Shcherbina | 2017-09-22 | 2 | -0/+7 |
| | |/ | |||||
| * | | Merge pull request #9736 from eric-wieser/gradient-fix | Charles Harris | 2017-09-21 | 2 | -8/+20 |
| |\ \ | |/ |/| | BUG: various fixes to np.gradient | ||||
| | * | MAINT: Use clearer variable | Eric Wieser | 2017-07-13 | 1 | -1/+1 |
| | | | |||||
| | * | BUG: Use np.ndim not asarray, to allow duck-types | Eric Wieser | 2017-07-13 | 1 | -7/+6 |
| | | | |||||
| | * | BUG: Only allow 1d distance arrays | Eric Wieser | 2017-07-13 | 2 | -1/+7 |
| | | | | | | | | | | | | | 2d arrays would work, but in unpredictable and undocumented ways. This at least makes gh-9401 give a better error message. | ||||
| | * | BUG: Allow 0d arrays instead of scalars in gradient | Eric Wieser | 2017-07-13 | 2 | -8/+15 |
| | | | | | | | | | This fixes gh-8292 | ||||
| * | | BUG: Add hypot and cabs functions to WIN32 blacklist. | Charles Harris | 2017-08-17 | 1 | -0/+13 |
| | | | | | | | | | | | MSVC 32 bit generates code for _hypot and cabs that changes the fpu precision mode, enabling ieee extended precision. | ||||
| * | | BLD: remove -xhost flag from IntelFCompiler. Closes gh-9042. | Ralf Gommers | 2017-08-14 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | Note that this was discussed extensively in gh-7287, but removing this -xhost flag was missed in the PR that closed that issue. [ci skip] | ||||
| * | | Merge pull request #9556 from charris/backport-9469 | Charles Harris | 2017-08-14 | 6 | -42/+143 |
| |\ \ | | | | | | | BUG: Fix true_divide when dtype=np.float64 specified. | ||||
| | * | | BUG: Fix true_divide when dtype=np.float64 specified. | Charles Harris | 2017-08-14 | 6 | -42/+143 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem here was due to the signature matching when dtype is specified. A signature matches when 1) The output dtype matches the specified dtype 2) The input arguments can be cast to the signatures dtypes using casting="same_kind" The signature 'bb->d' was present for true_divide, consequently when dtype=np.float64 was specified, all integer inputs were cast to int8. The solution adopted here was to remove all signatures/loops for true_divide that had integer inputs. Lesser measures broke a lot of existing code that relied on the behavior for other functions Closes #3484. Again. | ||||
| * | | | DOC: Fix some rst markup in numpy/doc/basics.py. | Charles Harris | 2017-08-14 | 1 | -3/+3 |
| |/ / | | | | | | | [ci skip] | ||||
| * | | Merge pull request #9555 from charris/backport-9554 | Charles Harris | 2017-08-14 | 2 | -4/+8 |
| |\ \ | | | | | | | BUG: fix regression in 1.13.x in distutils.mingw32ccompiler. | ||||
| | * | | MAINT: Suppress warning in py3compat test. | Charles Harris | 2017-08-14 | 1 | -3/+7 |
| | | | | |||||
| | * | | BUG: fix regression in 1.13.x in distutils.mingw32ccompiler. | Ralf Gommers | 2017-08-14 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | Issue was introduced in gh-8454. Thanks to @jennirinker for pointing out the issue and fix. Closes gh-9553. | ||||
| * | | | Merge pull request #9390 from eric-wieser/poly1d-fixes-fixes-fixes-fixes | Charles Harris | 2017-07-11 | 2 | -11/+17 |
| |\ \ \ | |/ / |/| | | BUG: Return the coefficients array directly | ||||
| | * | | BUG: Return the coefficients array directly | Eric Wieser | 2017-07-08 | 2 | -11/+17 |
| | | | | | | | | | | | | | | | | | | | | | | Turns out that this was relied upon downstream We also add a setter for coeffs, so that augmented assignment does not both change state and raise an exception suggesting state could not be changed. | ||||
| * | | | Merge pull request #9378 from charris/backport-9323 | Charles Harris | 2017-07-06 | 1 | -0/+1 |
| |\ \ \ | | | | | | | | | DOC: Add $PARAMS to the isnat docstring | ||||
| | * | | | DOC: Add $PARAMS to the isnat docstring | Andras Deak | 2017-07-06 | 1 | -0/+1 |
| | | | | | |||||
| * | | | | Merge pull request #9377 from charris/backport-9320 | Charles Harris | 2017-07-06 | 1 | -9/+8 |
| |\ \ \ \ | | | | | | | | | | | DOC: Use x1 and x2 in the heaviside docstring. | ||||
| | * | | | | DOC: Use x1 and x2 in the heaviside docstring. | Warren Weckesser | 2017-07-06 | 1 | -9/+8 |
| | |/ / / | | | | | | | | | | | | | | | | | | | | | Also remove a duplicate $PARAMS. Closes gh-9314. | ||||
| * | | | | MAINT: Use a for loop to traverse the linked list | Eric Wieser | 2017-07-06 | 1 | -4/+3 |
| | | | | | | | | | | | | | | | | | This avoids bugs like gh-9351 being introduced later | ||||
| * | | | | BUG: Prevent hangs traversing ufunc userloop linked lists | Eric Wieser | 2017-07-06 | 2 | -8/+12 |
| |/ / / | | | | | | | | | | Fixes gh-9351 | ||||
| * | | | Merge pull request #9373 from charris/backport-9364 | Charles Harris | 2017-07-06 | 1 | -2/+1 |
| |\ \ \ | | | | | | | | | BUG: ')' is printed at the end pointer of the buffer in numpy.f2py. | ||||
