summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #9577 from bashtage/dirichlet-alpha-validationCharles Harris2017-08-172-0/+12
|\ | | | | BUG: Missing dirichlet input validation
| * BUG: Missing dirichlet input validationKevin Sheppard2017-08-172-0/+12
| | | | | | | | | | | | | | | | Dirichlet does not validate inputs and hangs when values are zero. Adds check that values are strictly positive as required by the distribution. closes #2089
* | Merge pull request #9575 from pv/cabs-blacklistCharles Harris2017-08-174-2/+165
|\ \ | |/ |/| BUG: deal with broken cabs*() for MSVC on win32
| * BUG: core: remove extra return statementPauli Virtanen2017-08-171-1/+1
| |
| * BUG: core: blacklist MSVC cabs* on win32Pauli Virtanen2017-08-171-0/+4
| | | | | | | | | | Similarly to hypot() also cabs* on MSVC/win32 mess with floating point mode.
| * TST: core: add a test that exercise untested npymath functionsPauli Virtanen2017-08-173-1/+160
|/ | | | | These functions do not occur currently in numpy codebase either at all or only very indirectly, so they are not tested otherwise.
* Merge pull request #9574 from pv/fpflagCharles Harris2017-08-165-3/+135
|\ | | | | BUG: deal with broken hypot() for MSVC on win32
| * TST: add FPU mode check also for pytestPauli Virtanen2017-08-161-0/+54
| |
| * ENH: check for FPU mode changes in the test suitePauli Virtanen2017-08-163-3/+72
| | | | | | | | | | Emit a test failure if the FPU mode changes when running a test case, allowing to pinpoint what test caused the mode change.
| * BUG: blacklist MSVC hypot() on win32Pauli Virtanen2017-08-161-0/+9
|/
* Merge pull request #9564 from nolta/fix-cpuinfo-getoutputCharles Harris2017-08-151-1/+1
|\ | | | | BUG: fix distutils/cpuinfo.py:getoutput()
| * BUG: fix distutils/cpuinfo.py:getoutput()Mike Nolta2017-08-151-1/+1
|/ | | | | | | | | If getstatusoutput() throws an exception, getoutput() tries to catch it, but then crashes with: UnboundLocalError: local variable 'output' referenced before assignment because it tries to return the non-existent result of getstatusoutput().
* Merge pull request #9554 from rgommers/f2py-mingw32-issueCharles Harris2017-08-141-1/+1
|\ | | | | BUG: fix regression in 1.13.x in distutils.mingw32ccompiler.
| * BUG: fix regression in 1.13.x in distutils.mingw32ccompiler.Ralf Gommers2017-08-151-1/+1
| | | | | | | | | | | | Issue was introduced in gh-8454. Thanks to @jennirinker for pointing out the issue and fix. Closes gh-9553.
* | Merge pull request #9550 from jrbourbeau/fix-doc-linksCharles Harris2017-08-141-0/+2
|\ \ | |/ |/| DOC: removes broken docstring example (source code, png, pdf) links
| * DOC: removes broken docstring example (source code, png, pdf) linksJames Bourbeau2017-08-131-0/+2
| | | | | | | | | | | | Currently the (source code, png, pdf) links for docstring examples are pointing to missing files and give 404 errors (see issue #9500). This commit removes those links by modifying doc/source/conf.py.
* | Merge pull request #9552 from charris/fix-invalid-escapeseberg2017-08-141-2/+2
|\ \ | | | | | | DOC, BUG: Fix Python 3.6 invalid escape sequence.
| * | DOC, BUG: Fix Python 3.6 invalid escape sequence.Charles Harris2017-08-131-2/+2
|/ / | | | | | | | | | | | | | | | | The rst markup in numpy/doc/basics.py uses `\s`, which is interpreted by python 3.6 as a deprecated escape sequence. Fix by escaping the `\`. Closes #9551. [ci skip]
* | DOC: add example for isscalar on strings (#9361)Christoph Boeddeker2017-08-131-0/+2
| |
* | BUG: MaskedArray._optinfo is discarded by__eq__/__ne__ (#9540)David Schaefer2017-08-132-0/+20
| |
* | Merge pull request #9527 from Licht-T/fix-scalar-astypeEric Wieser2017-08-131-13/+14
|\ \ | |/ |/| BUG: Fix scalar methods to receive keyword arguments
| * BUG: Fix scalar-ravel so that it can receive keyword argumentsLicht Takeuchi2017-08-101-3/+3
| |
| * BUG: Fix scalar-flatten so that it can receive keyword argumentsLicht Takeuchi2017-08-101-3/+4
| |
| * BUG: Fix scalar-view so that it can receive keyword argumentsLicht Takeuchi2017-08-101-3/+3
| |
| * BUG: Fix scalar-searchsorted so that it can receive keyword argumentsLicht Takeuchi2017-08-101-3/+3
| |
| * BUG: Fix scalar-copy so that it can receive keyword argumentsLicht Takeuchi2017-08-101-3/+3
| |
| * BUG: Fix scalar-tobytes so that it can receive keyword argumentsLicht Takeuchi2017-08-091-3/+3
| |
| * BUG: Fix scalar-tostring so that it can receive keyword argumentsLicht Takeuchi2017-08-091-3/+3
| |
| * BUG: Fix scalar-astype so that it can receive keyword argumentsLicht Takeuchi2017-08-071-4/+4
| |
* | Merge pull request #9524 from charris/add_init_to_test_directoriesCharles Harris2017-08-1232-18/+25
|\ \ | | | | | | TST, MAINT: Add `__init__.py` files to tests directories.
| * | TST, MAINT: Add `__init__.py` files to tests directories.Charles Harris2017-08-0632-18/+25
| |/ | | | | | | | | | | | | | | This allows pytest to run with duplicate test file names. Note that `python <path-to-test-file>` no longer works with this change, nor will a simple `pytest numpy`, because numpy is imported from the numpy repository. However, `python runtests.py` and `>>> numpy.test()` are still available.
* | Merge pull request #9543 from dhermes/fix-note-on-quad-precCharles Harris2017-08-121-1/+1
|\ \ | | | | | | DOC: Adding backslash between double-backtick and s.
| * \ Merge branch 'master' into fix-note-on-quad-precCharles Harris2017-08-1218-53/+64
| |\ \ | |/ / |/| |
* | | Merge pull request #9422 from deniederhut/doc/types-formattingCharles Harris2017-08-121-2/+2
|\ \ \ | | | | | | | | DOC: correct formatting of basic.types.html
| * | | DOC: reverts some escapes [ci-skip]Dillon Niederhut2017-08-111-2/+2
| | | |
| * | | DOC: removes extraneous whitespace with escapesDillon Niederhut2017-07-271-3/+3
| | | | | | | | | | | | | | | | [ci-skip]
| * | | DOC: correct formatting of basic.types.htmlDillon Niederhut2017-07-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the documentation for types allowed in numpy, missing spaces around the backticks for fixed-width formatting cause code examples to appear as plain text, or are causing plain text to appear as code. This commit fixes back tick spacing in the 'Extended Precision' section of the 'Data Types' page.
* | | | Merge pull request #9544 from eric-wieser/error-convertingCharles Harris2017-08-1217-51/+62
|\ \ \ \ | | | | | | | | | | MAINT: Use the error_converting macro where possible
| * | | | MAINT: Use the error_converting macro where possibleEric Wieser2017-08-1117-51/+62
|/ / / /
| | * | DOC: Adding backslash between double-backtick and s.Danny Hermes2017-08-111-1/+1
| |/ / |/| |
* | | MAINT: Use moveaxis instead of rollaxis internally (#9475)Nico Schlömer2017-08-1013-52/+53
| | | | | | | | | | | | | | | Also add a hint to the documentation advising the use of moveaxis over rollaxis. Tests for rollaxis are left alone.
* | | Merge pull request #9536 from eric-wieser/better-polynomial-reprCharles Harris2017-08-106-55/+63
|\ \ \ | | | | | | | | ENH: Show domain and window as kwargs in repr
| * | | BUG/TST: Fix the polynomial.test_printing tests, which never tested anything ↵Eric Wieser2017-08-101-25/+25
| | | | | | | | | | | | | | | | | | | | | | | | useful assert_ is not a substitute for assert_equal
| * | | ENH: Show domain and window as kwargs in reprEric Wieser2017-08-105-30/+38
|/ / / | | | | | | | | | Also, update the docs with this new repr
* | | Merge pull request #9529 from seberg/nat-spamCharles Harris2017-08-072-20/+38
|\ \ \ | |_|/ |/| | BUG: The NAT deprecation warning should not be given for every single value
| * | BUG: The NAT deprecation warning should not be given for every single valueSebastian Berg2017-08-072-20/+38
|/ / | | | | | | | | | | | | | | | | This fixes it so that it is at least only given for each inner loop run, which admittingly slightly modifies the output on error (it will not stop at the first NAT, but rather only after the first inner loop finished; this does not relaly bother me though). Closes gh-9528
* | Merge pull request #9522 from eric-wieser/stop-using-obj2sctypeCharles Harris2017-08-065-46/+36
|\ \ | | | | | | BUG: Fix problems with obj2sctype
| * | MAINT: Remove unneeded asfarrayEric Wieser2017-08-062-12/+15
| | | | | | | | | | | | As of gh-7088, x is always a float array anyway
| * | BUG: Don't allow an array to be passed as the dtype argumentEric Wieser2017-08-063-3/+14
| | |
| * | BUG: Don't duplicate the type->dtype conversion logicEric Wieser2017-08-061-31/+7
| | | | | | | | | | | | | | | | | | | | | | | | dtype(t) already does this in descriptor.c This means that `obj2sctype(long)` now returns `np.int64` rather than `None`, because when you duplicate code, its easy to forget something in the second place.