Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #16971 from BvB93/nd_grid | Charles Harris | 2022-06-09 | 1 | -0/+34 |
|\ | | | | | BUG: Fix three `complex`- & `float128`-related issues with `nd_grid` | ||||
| * | TST: Update the `np.mgrid` tests | Bas van Beek | 2021-10-13 | 1 | -0/+34 |
| | | |||||
* | | MAINT: remove unused imports | Alessia Marcolini | 2021-10-08 | 1 | -1/+0 |
|/ | |||||
* | DEP: Finalize unravel_index `dims` alias for `shape` keyword | Sebastian Berg | 2020-12-02 | 1 | -11/+4 |
| | | | | | The argument was renamed to `shape` and deprecated since NumPy 1.16, so the deprecation can now be finalized. | ||||
* | MAINT: reference issue in comments for added index_tricks tests | Cameron Blocker | 2020-07-13 | 1 | -0/+2 |
| | |||||
* | TST: update mgrid test from code review | Cameron Blocker | 2020-07-13 | 1 | -4/+6 |
| | | | Co-authored-by: Ross Barnowski <rossbar@berkeley.edu> | ||||
* | TST: fixed dtype check error from code review | Cameron Blocker | 2020-07-12 | 1 | -2/+2 |
| | |||||
* | BUG: fix mgrid output for lower precision float inputs | Cameron Blocker | 2020-07-12 | 1 | -0/+23 |
| | | | | | | Floats besides float64 were being coerced to integers and complex step sizes for the index trick classes would fail for complex64 input. Fixes #16466 | ||||
* | MAINT: Remove implicit inheritance from object class (#15236) | Jon Dufresne | 2020-01-05 | 1 | -8/+8 |
| | | | | | | | Inheriting from object was necessary for Python 2 compatibility to use new-style classes. In Python 3, this is unnecessary as there are no old-style classes. Dropping the object is more idiomatic Python. | ||||
* | MAINT: Remove unnecessary 'from __future__ import ...' statements | Jon Dufresne | 2020-01-03 | 1 | -2/+0 |
| | | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior. | ||||
* | BUG: Add missing check for 0-sized array in ravel_multi_index | Sebastian Berg | 2019-09-22 | 1 | -0/+18 |
| | | | | | In wrap and clip modes ravel_multi_index crashes or gave invalid results if input arrays were empty but the shape not. | ||||
* | MAINT: Replace integers in places where booleans are expected | MSeifert04 | 2019-07-01 | 1 | -1/+1 |
| | |||||
* | BUG: fix unravel_index when dimension is greater than 'intp' | psschand | 2019-05-01 | 1 | -0/+3 |
| | | | | | The PR is: gh13439 Closes gh-9538 | ||||
* | Merge pull request #8641 from eric-wieser/ix_-preserve-type | Matti Picus | 2019-04-29 | 1 | -5/+10 |
|\ | | | | | BUG: Preserve types of empty arrays in ix_ when known | ||||
| * | Merge branch 'master' into ix_-preserve-type | Eric Wieser | 2018-07-31 | 1 | -82/+108 |
| |\ | |||||
| * | | BUG: Preserve types of empty arrays when known | Eric Wieser | 2017-02-19 | 1 | -5/+10 |
| | | | | | | | | | | | | Fixes regression in #5805 | ||||
* | | | BUG: raise on empty sequence input to unravel_index, ravel_index_multi; ↵ | mattip | 2019-03-29 | 1 | -0/+20 |
| | | | | | | | | | | | | clarify error msg | ||||
* | | | BUG: Revert linspace import for concatenation funcs (#12265) | James Bourbeau | 2018-10-26 | 1 | -0/+5 |
| | | | | | | | | | BUG: test and fix import linspace in index_tricks | ||||
* | | | DEP: Updated unravel_index() kwargs to support `shape` | Tyler Reddy | 2018-10-16 | 1 | -1/+29 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * unravel_index() now supports the shape argument (Fixes #10586) while retaining backwards compatibility for the dims argument * added corresponding unit tests and docstring changes * updated compatibility release notes | ||||
* | | | Merge pull request #12137 from tylerjereddy/fill_diag_err_test | Eric Wieser | 2018-10-11 | 1 | -0/+13 |
|\ \ \ | | | | | | | | | TST: error tests for fill_diagonal() | ||||
| * | | | TST: error tests for fill_diagonal() | Tyler Reddy | 2018-10-10 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | | | | | | * add error handling tests for previously uncovered code in fill_diagonal() | ||||
* | | | | TST: error tests for diag_indices_from() | Tyler Reddy | 2018-10-10 | 1 | -5/+17 |
|/ / / | | | | | | | | | | | | | * add unit tests for previously uncovered error handling code in diag_indices_from() | ||||
* | | | TST: improve coverage of nd_grid | Tyler Reddy | 2018-10-06 | 1 | -0/+18 |
| | | | |||||
* | | | MAINT: reformat line spacing before test methods | mattip | 2018-08-19 | 1 | -1/+0 |
| |/ |/| | |||||
* | | BUG: Avoid deprecated non-tuple indexing | Eric Wieser | 2018-05-28 | 1 | -1/+10 |
| | | | | | | | | np.ogrid was not tested anyway, so this was not caught. | ||||
* | | MAINT: move matrix tests in lib to matrixlib. | Marten van Kerkwijk | 2018-04-29 | 1 | -31/+0 |
| | | |||||
* | | TST: Remove yield tests from lib/tests/test_index_tricks.py. | Charles Harris | 2018-04-08 | 1 | -65/+71 |
| | | |||||
* | | MAINT: Remove all uses of run_module_suite. | Charles Harris | 2018-04-06 | 1 | -7/+2 |
| | | | | | | | | | | That function is nose specific and has not worked since `__init__` files were added to the tests directories. | ||||
* | | More misc. typos | luz.paz | 2018-01-04 | 1 | -1/+1 |
| | | | | | | Found via `codespell` | ||||
* | | ENH: Allow np.r_ to accept 0d arrays | Eric Wieser | 2017-12-11 | 1 | -0/+5 |
| | | | | | | | | Fixes gh-9233 | ||||
* | | BUG: Allow `unravel_index(0, ())` to return () | Eric Wieser | 2017-10-17 | 1 | -1/+12 |
| | | | | | | | | Fixes gh-580 | ||||
* | | MAINT: Stop using the undocumented coercion-then-downcast feature of subdtype | Eric Wieser | 2017-08-05 | 1 | -1/+1 |
| | | |||||
* | | TST: Remove unittest dependencies in numpy/lib/tests. | Charles Harris | 2017-07-24 | 1 | -9/+9 |
| | | |||||
* | | BUG: np.r_['r',...] crashes on scalars | Eric Wieser | 2017-05-05 | 1 | -0/+5 |
| | | |||||
* | | BUG: np.r_['rc'] is treated as np.r_['r'], not an error | Eric Wieser | 2017-05-05 | 1 | -0/+2 |
| | | |||||
* | | TST: Add some tests for passing r and c to r_ | Eric Wieser | 2017-05-05 | 1 | -0/+13 |
| | | |||||
* | | BUG: Remove mutable state from AxisConcatenator | Eric Wieser | 2017-05-05 | 1 | -0/+11 |
|/ | | | | Fixes #8815 | ||||
* | TST: add intp type check in test_big_indices | Shota Kawabuchi | 2016-10-03 | 1 | -4/+6 |
| | |||||
* | BUG: add array size overflow check in arr_ravel_multi_index | Shota Kawabuchi | 2016-10-03 | 1 | -1/+14 |
| | |||||
* | BUG: fix ravel_multi_index for big indices (issue #7546) | Shota Kawabuchi | 2016-09-26 | 1 | -0/+6 |
| | |||||
* | BUG: Make returned unravel_index arrays writeable | gfyoung | 2016-02-18 | 1 | -0/+6 |
| | | | | Closes gh-7269. | ||||
* | BUG: made view of new array to fix ix_ bug | mlai | 2015-07-11 | 1 | -0/+9 |
| | | | | | | closes gh-6062 done with help of Sebastian Berg! =) | ||||
* | BUG: Fix handling of non-empty ndarrays | Jaime Fernandez | 2015-05-04 | 1 | -8/+12 |
| | |||||
* | TST: Added tests for ix_ | Jaime Fernandez | 2015-04-27 | 1 | -1/+25 |
| | |||||
* | STY: PEP8 compliance for numpy/lib/tests. | Charles Harris | 2014-07-31 | 1 | -7/+7 |
| | | | | | | | The possibly controversial part of this is making the nested array value lists PEP8 compliant, as there is something to be said aligning the values for clarity. In the end, it seemed like the easiest thing to do was to make them PEP8 compliant. The eye can get used to that. | ||||
* | MAINT: Fix problems noted by pyflakes in numpy/lib/tests. | Charles Harris | 2014-07-31 | 1 | -39/+45 |
| | |||||
* | BUG: Fix 0-sized ndindex | Sebastian Berg | 2013-09-09 | 1 | -0/+4 |
| | | | | | | | The zerosize_ok flag to nditer was missing, so that it did not allow for 0-sized iteration. Closes gh-3714 | ||||
* | STY: Make numpy/lib/test/*.py PEP8 compliant. | Charles Harris | 2013-09-03 | 1 | -33/+49 |
| | | | | | | | Run autopep8 over the test files in numpy/lib/test and make fixes to the result. Also remove Python5 workaround. | ||||
* | STY: Giant comma spacing fixup. | Charles Harris | 2013-08-18 | 1 | -80/+80 |
| | | | | | | | Run the 2to3 ws_comma fixer on *.py files. Some lines are now too long and will need to be broken at some point. OTOH, some lines were already too long and need to be broken at some point. Now seems as good a time as any to do this with open PRs at a minimum. | ||||
* | STY: Giant whitespace cleanup. | Charles Harris | 2013-08-18 | 1 | -1/+1 |
| | | | | Now is as good a time as any with open PR's at a low. |