summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* DOC: default integer dtype reflect C long size (#23507)Matti Picus2023-03-311-2/+2
|
* DOC: Removed `.shape` setting note from reshape (#23491)JoryKlaverstijn2023-03-311-18/+3
| | | | | | | | | | | | | | * DOC: Changed the example for modifying the shape without modifying the initial object * DOC: Removed the example for directly assigning a tuple to the shape attribute of a numpy array * DOC: Re-added note about copying data when reshaping an array to numpy.reshape docs * DOC: reformat for linting --------- Co-authored-by: Jory Klaverstijn <j.klaverstijn@student.rug.nl> Co-authored-by: Matti Picus <matti.picus@gmail.com>
* DOC: Fix typos & grammer in docstrings and comments (#23503)Pratyay Banerjee2023-03-306-6/+6
|
* Merge pull request #23501 from ↵Charles Harris2023-03-301-1/+1
|\ | | | | | | | | numpy/dependabot/github_actions/ossf/scorecard-action-2.1.3 MAINT: Bump ossf/scorecard-action from 2.1.2 to 2.1.3
| * MAINT: Bump ossf/scorecard-action from 2.1.2 to 2.1.3dependabot[bot]2023-03-301-1/+1
|/ | | | | | | | | | | | | | | Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.1.2 to 2.1.3. - [Release notes](https://github.com/ossf/scorecard-action/releases) - [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md) - [Commits](https://github.com/ossf/scorecard-action/compare/e38b1902ae4f44df626f11ba0734b14fb91f8f86...80e868c13c90f172d68d1f4501dee99e2479f7af) --- updated-dependencies: - dependency-name: ossf/scorecard-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* Merge pull request #23484 from ngoldbaum/fill-clearSebastian Berg2023-03-291-1/+2
|\ | | | | MAINT: use PyArray_ClearBuffer in PyArray_FillWithScalar
| * MAINT: use PyArray_ClearBuffer in PyArray_FillWithScalarNathan Goldbaum2023-03-291-1/+2
|/
* Merge pull request #23480 from rgommers/remove-dualCharles Harris2023-03-287-137/+1
|\ | | | | DEP: remove deprecated `numpy.dual` module
| * MAIN: Remove dual.py from meson.buildCharles Harris2023-03-281-1/+0
| |
| * MAINT: Remove numpy.dual from API checkCharles Harris2023-03-281-1/+0
| |
| * DEP: remove deprecated `numpy.dual` moduleRalf Gommers2023-03-285-135/+1
|/ | | | | | | It has been deprecated since numpy 1.20, and code search engines don't turn up a reason to keep this around. [skip actions] [skip cirrus]
* BUG: Use output when given on numpy.dot C-API branch (#23459)Pedro Lameiras2023-03-283-5/+20
| | | | | | | Updated the dot function C-API so that it now calls `np.multiply` with `out=` and returns it on branch of the function where the correct behaviour was not in place. Added two tests regarding this issue. Closes #21081. Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
* Merge pull request #23473 from F3eQnxN3RriK/maint-link-writebackifcopyMatti Picus2023-03-281-1/+1
|\ | | | | DOC: Fix a wrong format of reference
| * MAINT: Fix a wrong format of referenceyuki2023-03-271-1/+1
| |
* | Merge pull request #23474 from F3eQnxN3RriK/maint-missing-asteriskMatti Picus2023-03-281-1/+1
|\ \ | | | | | | MAINT: Fix missing asterisk
| * | MAINT: Fix missing asteriskyuki2023-03-271-1/+1
| |/
* | Merge pull request #23472 from ↵Charles Harris2023-03-272-4/+4
|\ \ | | | | | | | | | | | | numpy/dependabot/github_actions/github/codeql-action-2.2.9 MAINT: Bump github/codeql-action from 2.2.8 to 2.2.9
| * | MAINT: Bump github/codeql-action from 2.2.8 to 2.2.9dependabot[bot]2023-03-272-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.2.8 to 2.2.9. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/67a35a08586135a9573f4327e904ecbf517a882d...04df1262e6247151b5ac09cd2c303ac36ad3f62b) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* | | Docs typo fix (#23471)Johana De La Rosa2023-03-271-1/+1
| | | | | | | | | PyArary to PyArray
* | | Merge pull request #23460 from molsonkiko/crackfortran_backtrackingCharles Harris2023-03-272-2/+49
|\ \ \ | |/ / |/| | MAINT: Fix ReDOS vulnerability in crackfortran.py
| * | make time tests more resilient to random noisemolsonkiko2023-03-261-7/+16
| | |
| * | make regex still match cases where OG fix failedmolsonkiko2023-03-262-7/+20
| | | | | | | | | | | | | | | | | | | | | My first replacement regex would have failed to match cases like '@)@bind foo bar baz@(@@)@' which should apparently be matched. Added a test to make sure the regex does this.
| * | update test for less arbitrary time requirementmolsonkiko2023-03-261-1/+2
| | |
| * | initial fix for nameargspattern regexmolsonkiko2023-03-262-3/+10
| | |
| * | add nameargspattern backtracking testmolsonkiko2023-03-261-0/+17
| | |
* | | Merge pull request #23466 from numpy/revert-23061-vectorizeCharles Harris2023-03-273-115/+11
|\ \ \ | | | | | | | | Revert "ENH: Enabled the use of numpy.vectorize as a decorator"
| * | | Revert "ENH: Enabled the use of numpy.vectorize as a decorator"Matti Picus2023-03-273-115/+11
| | |/ | |/|
* | | Merge pull request #23465 from e7kim/fixtypo2Mukulika2023-03-271-1/+1
|\ \ \ | | | | | | | | DOC: typo, fixed "Howeve" to "However" [skip ci]
| * | | DOC: typo, fixed "Howeve" to "However" [skip ci]Eugene Kim2023-03-271-1/+1
| |/ /
* | | Merge pull request #23467 from mattip/ufunc_at3Sebastian Berg2023-03-272-0/+14
|\ \ \ | |/ / |/| | BUG: in the fastest path form ufunc.at, properly increment args[2]
| * | BUG: in the fastest path form ufunc.at, properly increment args[2]mattip2023-03-272-0/+14
|/ /
* | CI: add ci run after merge for coverage (#23456)Matti Picus2023-03-261-10/+20
| | | | | | | | | | | | | | | | | | * BUILD: add ci run after merge for coverage * Apply suggestions from code review --------- Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
* | Merge pull request #23458 from seberg/product-deprMatti Picus2023-03-261-2/+2
|\ \ | |/ |/| TST: Fix failing test (introduced deprecation after written)
| * TST: Fix failing test (introduced deprecation after written)Sebastian Berg2023-03-261-2/+2
|/
* Merge pull request #21120 from BvB93/matmulMatti Picus2023-03-265-31/+167
|\ | | | | ENH: Add support for inplace matrix multiplication
| * BUG: Remove self == res assert for inplace matmulSebastian Berg2022-12-021-3/+1
| | | | | | | | | | | | It appears that assertion is not true for bad __array_ufunc__ or similar implementations. And we have at least one test that runs into it.
| * ENH: Replace AxisError with more spefic oneSebastian Berg2022-12-021-1/+21
| | | | | | | | | | In theory, an object matmul could be caught here, but lets assume that doesn't happen...
| * ENH: Implement matmul using the nuclear optionsSebastian Berg2022-12-021-23/+40
| | | | | | | | | | | | | | | | | | This uses the `axes` argument. Arguably the most correct version since we use the full ufunc machinery, so we can't mess up with random conversions (which the test suite actually did notice, at least for an array subclass). OTOH, for now the errors are ridiculously unhelpful, some of which could be fixed in the gufunc code (at least made _better_).
| * MAINT: Move check and expand error message slightlySebastian Berg2022-12-021-3/+6
| | | | | | | | | | | | | | In principle, this is probably still not 100% correct always since we convert the the other object to an array upfront (to get the error). But the alternative solution using `axes=` seems tricky as well...
| * MAINT: Explicitly raise when `a @= b` would otherwise broadcast the outputBas van Beek2022-12-022-2/+26
| | | | | | | | Add special casing for `1d @ 1d` and `2d @ 1d` ops.
| * TST: Add `__imatmul__` tests for arrays with various shapesBas van Beek2022-12-021-5/+27
| |
| * TST: Add a dedicated `__imatmul__` test case for large matricesBas van Beek2022-12-021-1/+14
| |
| * MAINT: Let `ndarray.__imatmul__` handle inplace matrix multiplication in the ↵Bas van Beek2022-12-021-12/+2
| | | | | | | | array-api
| * TST: Add tests for inplace matrix multiplicationBas van Beek2022-12-021-11/+28
| |
| * DOC: Remove an outdated `matmul` commentBas van Beek2022-12-021-1/+0
| |
| * ENH: Add support for inplace matrix multiplicationBas van Beek2022-12-023-7/+40
| |
* | Merge pull request #23455 from seberg/run-coverageMatti Picus2023-03-261-0/+9
|\ \ | | | | | | CI: Ensure coverage is run for merges
| * | CI: Ensure coverage is run for mergesSebastian Berg2023-03-261-0/+9
|/ / | | | | | | | | | | | | | | | | Recently, coverage has been starting to pile up bad "changed files" that didn't actually change. For now it was a minor nuisance but this will just increase. We could probably just run this every few days also, coverage doesn't change too quickly. But it needs to run on merges regularly.
* | Merge pull request #23449 from charris/update-dependabotMatti Picus2023-03-261-5/+4
|\ \ | | | | | | MAINT: Stop dependabot docker checks.
| * | MAIN: Stop dependabot docker checks.Charles Harris2023-03-251-5/+4
| | | | | | | | | | | | Docker related files have been removed from numpy.