summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | MAINT: remove dead code path (from review)mattip2023-01-031-6/+0
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | MAINT: enable fast_path in more cases (from review)mattip2023-01-032-18/+8
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Revert "MAINT: elide the generic_wrapped_legacy_loop wrapper out of the hot ↵mattip2023-01-022-24/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | loop" This reverts commit 154c293786a29cfbf976f08cab48698166d99399.
| * | | | | | | | | | | | | use 4 for float, 2 for double in fast-path countmattip2022-12-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: mattip <matti.picus@gmail.com>
| * | | | | | | | | | | | | use better semantics for calling PyArray_DiscardWritebackIfCopymattip2022-12-291-1/+1
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | lower limit to 2, improves benchmarksmattip2022-12-281-1/+1
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | fix for non-generic_legacy loppsmattip2022-12-281-0/+4
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | MAINT: do not try SIMD arithmetic loops if count < 4mattip2022-12-281-1/+1
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | MAINT: elide the generic_wrapped_legacy_loop wrapper out of the hot loopmattip2022-12-282-8/+24
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | add fast iter loop and benchmarkmattip2022-12-262-10/+95
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | refactor part that does the iteration into functionmattip2022-12-261-177/+188
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | refactor ufunc_at in preparation for breaking it into sub-functionsMatti Picus2022-12-261-194/+225
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | ENH: find the place to add a fast path for ufunc_atMatti Picus2022-12-262-1/+22
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Merge pull request #22902 from charris/remove-python-3.8Sebastian Berg2023-01-037-51/+66
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / / |/| | | | | | | | | | | | | MAINT: Replace Python3.8 by Python3.9.
| * | | | | | | | | | | | | MAINT: Replace Python3.8 by Python3.9.Charles Harris2022-12-297-51/+66
| | |_|_|_|_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We will drop Python3.8 in NumPy 1.25. This PR updates the ci tests and wheel builds to use 3.9.
* | | | | | | | | | | | | Merge pull request #22886 from HaoZeke/docBenchVersionsMatti Picus2023-01-021-2/+33
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | DOC: Add details on benchmarking versions with ASV
| * | | | | | | | | | | | | DOC: linting, spellingMatti Picus2023-01-021-1/+2
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | DOC: describe the quick commandMatti Picus2023-01-021-2/+3
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | DOC: Update to clarify local benchmark testingRohit Goswami2023-01-011-0/+11
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | DOC: Update to remove benchmark contributionsRohit Goswami2022-12-311-4/+3
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | DOC: Cleanup and simplify with ASVRohit Goswami2022-12-261-5/+4
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | DOC: Add details on benchmarking versionsRohit Goswami2022-12-261-0/+20
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | BUG: Fixes for numpy.testing.overrides (#22879)Nathan Goldbaum2023-01-022-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Followup for gh-22533. Adds a missing return statement to get_overridable_numpy_ufuncs (oops!) and imports numpy.testing.overrides into numpy.testing so e.g. tab completion on numpy.testing works for overrides.
* | | | | | | | | | | | | | Merge pull request #22905 from l-johnston/add_linspace_testMatti Picus2023-01-021-0/+9
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TST: Add linspace test case for any_step_zero and not _mult_inplace
| * | | | | | | | | | | | | | Rekick againLee Johnston2022-12-310-0/+0
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Rekick CI after authorizing circleci appLee Johnston2022-12-310-0/+0
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Rekick CI buildLee Johnston2022-12-310-0/+0
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | TST: Add linspace test case for any_step_zero and not _mult_inplaceLee Johnston2022-12-301-0/+9
| | |/ / / / / / / / / / / / | |/| | | | | | | | | | | |
* | | | | | | | | | | | | | BUG: np.loadtxt cannot load text file with quoted fields separated by ↵dmbelov2023-01-013-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | whitespace (#22906) Fix issue with `delimiter=None` and quote character not working properly (not using whitespace delimiter mode). Closes gh-22899
* | | | | | | | | | | | | | Merge pull request #22777 from pkubaj/patch-1Sayed Adel2022-12-312-4/+20
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / |/| | | | | | | | | | | | | ENH: Properly support FreeBSD/powerpc64
| * | | | | | | | | | | | | ENH: Detect CPU features on FreeBSD/powerpc64*pkubaj2022-12-302-4/+20
| | |_|/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. FreeBSD uses elf_aux_info() instead of getauxval. 2. Switch to using compiler macros for detecting POWER platform FreeBSD sets the machine name (what uname -m prints) on all powerpc* to just powerpc. To identify actual architecture, uname -p should be used, but this is not present in uname() function. Thus, the only way to correctly detect platform is to use what uname prints and also check compiler defines.
* | | | | | | | | | | | | DOC: Add blurb about rotation direction to rot90 docstring (#22880)Matthew Muresan2022-12-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * DOC: Add a note to the documentation of the rot90 The note added indicates that rotation is counter clockwise with the default argumemnts. Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* | | | | | | | | | | | | Merge pull request #22901 from j3soon/hotfix/issue-templateMatti Picus2022-12-291-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | MAINT: Fix runtime information commands for issue template [skip ci]
| * | | | | | | | | | | | | MAINT: Fix runtime information commands for issue template [skip ci]Johnson2022-12-301-1/+1
|/ / / / / / / / / / / / /
* | | | | | | | | | | | | Merge pull request #22890 from charris/post-1.24.1-release-updateCharles Harris2022-12-273-0/+94
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | MAINT: Update main after 1.24.1 release.
| * | | | | | | | | | | | | MAINT: Update main after 1.24.1 release.Charles Harris2022-12-263-0/+94
| | |_|/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Create 1.24.1-changelog.rst - Create 1.24.1-notes.rst - Update release.rst
* | | | | | | | | | | | | Merge pull request #22894 from mattip/labeller-updateSebastian Berg2022-12-271-6/+6
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | MAINT: change labeler
| * | | | | | | | | | | | | MAINT: change labelermattip2022-12-271-6/+6
|/ / / / / / / / / / / / /
* | | | | | | | | | | | | Merge pull request #22891 from ev-br/argmin_tests_repeatSebastian Berg2022-12-271-16/+16
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / |/| | | | | | | | | | | | TST: tests/core/test_multiarray:TestArg{Min,Max}: stray `np.repeat `
| * | | | | | | | | | | | TST: tests/core/test_multiarray:TestArg{Min,Max}Evgeni Burovski2022-12-261-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test does `a.repeat(129)` and discards the result: >>> a.repeat(129) >>> np.argmin(a)
* | | | | | | | | | | | | BUG: Use whole file for encoding checks with `charset_normalizer` [f2py] ↵Rohit Goswami2022-12-254-25/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#22872) * BUG: Use whole file for encoding checks [f2py] * DOC: Add a code comment Co-authored-by: melissawm <melissawm@gmail.com> * TST: Add a conditional unicode f2py test * MAINT: Add chardet as a test requirement * ENH: Cleanup and switch f2py to charset_normalizer * MAINT: Remove chardet for charset_normalizer * TST: Simplify UTF-8 encoding [f2py] Co-authored-by: melissawm <melissawm@gmail.com>
* | | | | | | | | | | | | BUG: Fix integer overflow in in1d for mixed integer dtypes #22877 (#22878)Miles Cranmer2022-12-252-4/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * TST: Mixed integer types for in1d * BUG: Fix mixed dtype overflows for in1d (#22877) * BUG: Type conversion for integer overflow check * MAINT: Fix linting issues in in1d * MAINT: ar1 overflow check only for non-empty array * MAINT: Expand bounds of overflow check * TST: Fix integer overflow in mixed boolean test * TST: Include test for overflow on mixed dtypes * MAINT: Less conservative overflow checks
* | | | | | | | | | | | | Merge pull request #22882 from mattip/freebsdCharles Harris2022-12-255-19/+470
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / / |/| | | | | | | | | | | | MAINT: restore npymath implementations needed for freebsd
| * | | | | | | | | | | | revert detection for meson.buildmattip2022-12-252-1/+24
| | | | | | | | | | | | |
| * | | | | | | | | | | | MAINT: restore npymath implementations needed for freebsdmattip2022-12-253-18/+446
|/ / / / / / / / / / / /
* | | | | | | | | | | | Merge pull request #22861 from ↵Matti Picus2022-12-232-4/+39
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Developer-Ecosystem-Engineering/convert_non_bool_to_bool BUG, SIMD: Restore behavior converting non bool input to 0x00/0xff
| * | | | | | | | | | | | Update logical_and to avoid extra mask ops in AVX512Developer-Ecosystem-Engineering2022-12-211-16/+28
| | | | | | | | | | | | |
| * | | | | | | | | | | | Add regression test for gh-22845Developer-Ecosystem-Engineering2022-12-211-0/+11
| | | | | | | | | | | | |
| * | | | | | | | | | | | BUG, SIMD: Restore behavior converting non bool input to 0x00/0xffDeveloper-Ecosystem-Engineering2022-12-211-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This resolves https://github.com/numpy/numpy/issues/22845 by restoring prior behavior to convert non bool input
* | | | | | | | | | | | | Merge pull request #22869 from seberg/issue-22835Charles Harris2022-12-221-0/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | TST: Ignore nan-warnings in randomized nanfunction `out=` tests