summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | MAINT: Pin rtools version on Windows.Charles Harris2023-05-031-2/+3
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See https://github.com/scipy/scipy/pull/18374 for the reason. Closes #23675.
* | | | | | | | | Merge pull request #23706 from seberg/testing-gfuncsSebastian Berg2023-05-031-68/+13
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | MAINT: Remove gisnan, gisinf, and gisfinite from testing code
| * | | | | | | | | MAINT: Remove gisnan, gisinf, and gisfinite from testing codeSebastian Berg2023-05-031-68/+13
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These were introduced many years ago when ufuncs were buggy and could return NotImplemented sometimes. This has been fixed for many years, though. I suspect the errstate for `isfinite` is not required so removed it. It was a 12+ year old work-around for warnings that really shouldn't happen to begin with. (The commit mentions `np.isinf(np.inf)` giving a warning, which doesn't make sense, I think.)
* | | | | | | | | Merge pull request #23699 from ngoldbaum/repeat-remove-array-increfSebastian Berg2023-05-032-14/+101
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | MAINT: refactor PyArray_Repeat to avoid PyArray_INCREF
| * | | | | | | | TST: test object dtype in test_repeatNathan Goldbaum2023-05-031-2/+3
| | | | | | | | |
| * | | | | | | | MAINT: apply specialization optimizationNathan Goldbaum2023-05-021-23/+83
| | | | | | | | |
| * | | | | | | | MAINT: refactor to use chunked castsNathan Goldbaum2023-05-021-8/+9
| | | | | | | | |
| * | | | | | | | MAINT: refactor PyArray_Repeat to avoid PyArray_INCREFNathan Goldbaum2023-05-021-2/+27
| | | | | | | | |
* | | | | | | | | Merge pull request #22137 from Micky774/enable_simdMatti Picus2023-05-034-53/+320
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | ENH allow for specifying CPU features to enable via `NPY_ENABLE_CPU_FEATURES` environment variable
| * | | | | | | | | ENH: add NPY_ENABLE_CPU_FEATURES to allow limiting set of enabled featuresMeekail Zain2023-04-084-53/+320
| | | | | | | | | |
* | | | | | | | | | Merge pull request #23700 from rossbar/doc/fix-23664Sebastian Berg2023-05-021-8/+7
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | DOC: Resolve length/index ambiguity in numpy.outer docstring
| * | | | | | | | | | DOC: add back reference.Ross Barnowski2023-05-021-3/+3
| | | | | | | | | | |
| * | | | | | | | | | DOC: fix reference formatting.Ross Barnowski2023-05-021-3/+3
| | | | | | | | | | |
| * | | | | | | | | | DOC: fix indexing inconsistency in outer docstring.Ross Barnowski2023-05-021-6/+5
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #23695 from Mousius/sincos-range-checksSebastian Berg2023-05-022-2/+16
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / |/| | | | | | | | | | BUG: Correct sin/cos float64 range check functions
| * | | | | | | | | | xfail underflowing scalar sinChris Sidebottom2023-05-021-0/+4
| | | | | | | | | | |
| * | | | | | | | | | Add test case for underflow exceptionChris Sidebottom2023-05-021-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Pierre Blanchard <Pierre.Blanchard@arm.com>
| * | | | | | | | | | BUG: Correct sin/cos float64 range check functionsChris Sidebottom2023-05-021-2/+2
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When I translated range checks for [sin](https://github.com/ARM-software/optimized-routines/blob/91d5bbc3091fa568e6856c7c41f9d7492d5957df/math/v_sin.c#L68): ```c cmp = v_cond_u64 ((ir >> 52) - TinyBound >= Thresh); ``` and [cos](https://github.com/ARM-software/optimized-routines/blob/91d5bbc3091fa568e6856c7c41f9d7492d5957df/math/v_cos.c#L56): ```c cmp = v_cond_u64 (v_as_u64_f64 (r) >= v_as_u64_f64 (RangeVal)); ``` They ended up the wrong way around, this corrects it.
* | | | | | | | | | Merge pull request #23696 from domdfcoding/patch-1Sebastian Berg2023-05-021-1/+1
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | DOC: Fix link to site.cfg.example
| * | | | | | | | | | DOC: Fix link to site.cfg.exampleDominic Davis-Foster2023-05-021-1/+1
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was using Markdown syntax, but this is a ReStructedText file.
* | | | | | | | | | Merge pull request #23691 from WarrenWeckesser/geometric-maxintSebastian Berg2023-05-022-24/+36
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | BUG: random: Don't return negative values from Generator.geometric.
| * | | | | | | | | | MAINT: random: In a test module, don't use a global non-deterministically ↵warren2023-05-011-24/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generator.
| * | | | | | | | | | BUG: random: Don't return negative values from Generator.geometric.warren2023-04-302-1/+16
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In C, when the integer part of a double exceeds the maximum int64, casting the double to int64_t is undefined behavior. On some platforms, the result is 2**64-1 and on others it is -2**64. That results in rng.geometric() returning -2**64 when p was sufficiently small on some platforms. The fix is to never invoke undefined behavior by ensuring we don't attempt to cast very large double values to int64_t.
* | | | | | | | | | DOC: Fix return type of `PyArray_EinsteinSum` (#23684)Yuki2023-04-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The return type `PyArray_EinsteinSum` is `PyArrayObject*`, not `PyObject*`
* | | | | | | | | | Merge pull request #23680 from seberg/ma-krakenCharles Harris2023-04-282-1/+3
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | BUG: Fix masked array ravel order for A (and somewhat K)
| * | | | | | | | | | BUG: Fix masked array ravel order for A (and somewhat K)Sebastian Berg2023-04-282-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Swaps the order to the correct thing and thus closes gh-23651
* | | | | | | | | | | Merge pull request #23683 from ↵Charles Harris2023-04-282-4/+4
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | numpy/dependabot/github_actions/github/codeql-action-2.3.2 MAINT: Bump github/codeql-action from 2.3.1 to 2.3.2
| * | | | | | | | | | | MAINT: Bump github/codeql-action from 2.3.1 to 2.3.2dependabot[bot]2023-04-282-4/+4
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.3.1 to 2.3.2. - [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/8662eabe0e9f338a07350b7fd050732745f93848...f3feb00acb00f31a6f60280e6ace9ca31d91c76a) --- 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>
* | | | | | | | | | | Merge pull request #23682 from r-devulap/disable-ci-againCharles Harris2023-04-281-0/+1
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | | CI: Disable intel_spr_sde_test, again
| * | | | | | | | | | CI: Disable intel_spr_sde_test, againRaghuveer Devulapalli2023-04-281-0/+1
|/ / / / / / / / / /
* | | | | | | | | | Merge pull request #23600 from HaoZeke/f2pyFuncFix_23598Sebastian Berg2023-04-287-2/+58
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | BUG: Infer return types for Fortran functions in `f2py`
| * \ \ \ \ \ \ \ \ \ Merge branch 'main' into f2pyFuncFix_23598Sebastian Berg2023-04-2679-1262/+2182
| |\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | TST: Add a test for the f2py function wrapper fileRohit Goswami2023-04-172-0/+33
| | | | | | | | | | | |
| * | | | | | | | | | | BUG: Ensure function wrappers have consistent argsRohit Goswami2023-04-171-0/+6
| | | | | | | | | | | |
| * | | | | | | | | | | MAINT,TST: No printing in f2py testsRohit Goswami2023-04-161-1/+1
| | | | | | | | | | | |
| * | | | | | | | | | | MAINT: Fix tests for f2py inferred return typesRohit Goswami2023-04-161-2/+5
| | | | | | | | | | | |
| * | | | | | | | | | | BUG: Fix return types for functions in f2pyRohit Goswami2023-04-161-0/+2
| | | | | | | | | | | |
| * | | | | | | | | | | TST: Add a test for gh-23598Rohit Goswami2023-04-162-1/+13
| | | | | | | | | | | |
* | | | | | | | | | | | TST: add tests for numpy.quantile (#23129)Christian Lorentzen2023-04-281-5/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR adds additional tests for quantiles: 1. Identification equation $E[V(q, Y)] = 0$ 2. Adding a constant $c > 0$: $q(c + Y) = c + q(Y)$ 3. Multiplying by a constant $c > 0$: $q(c \cdot Y) = c \cdot q(y)$ 4. Multiplying by $-1$: $q_{\alpha}(-Y) = -q_{1-\alpha}(Y)$ (Note by seberg as reviewer: These tests are fairly complex, but may be useful for future development. But if they seem too complicated, they are probably not really vital and could be shortened or removed.)
* | | | | | | | | | | | DOC: Fixing incorrect sentence - Boolean array indexing #23377 (#23489)Younes2023-04-281-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * DOC: Fixing incorrect sentence - Boolean array indexing #23377 * Update doc/source/user/basics.indexing.rst Co-authored-by: Ross Barnowski <rossbar@berkeley.edu> --------- Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net> Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* | | | | | | | | | | | Merge pull request #23528 from seberg/allow-backcomp-buildsMatti Picus2023-04-2813-106/+257
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | ENH: Allow, and default to, downstream building with old API
| * | | | | | | | | | | | Apply suggestions from code reviewSebastian Berg2023-04-284-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Matti Picus <matti.picus@gmail.com>
| * | | | | | | | | | | | DOC: Align default with what the NEP draft saysSebastian Berg2023-04-252-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have three choices: 1. Be compatible with limited API (oldest supported Python version) 2. Be compatible with everything on the same Python version (this) 3. Be strict and default to NEP 29 This just rephrases things to be 2. Because our API version was not bumped over the relevant time frame, it is actually also compatible with the first.
| * | | | | | | | | | | | MAINT,DOC: Update based on Ralf's reviewSebastian Berg2023-04-204-13/+12
| | | | | | | | | | | | |
| * | | | | | | | | | | | DOC: Add API change section to reviewer docsSebastian Berg2023-04-181-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This seemed like the clearest place to add a more in-depth note on it. The actual table, etc. also would make sense, but there you probably see the `MinVersion` anyway...
| * | | | | | | | | | | | DOC: Start on docs about compatible downstream buildsSebastian Berg2023-04-112-48/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This still needs to be expanded and maybe removes a bit more than it should. OTOH, the actual changes will mainly be necessary once NumPy 2.0 comes, right now the old scheme remains valid.
| * | | | | | | | | | | | Tweak to just warn for low versionsSebastian Berg2023-04-061-9/+9
| | | | | | | | | | | | |
| * | | | | | | | | | | | TST,DOC: Avoid spaces to hopefully ensure more info on error and fix memtestsSebastian Berg2023-04-042-1/+2
| | | | | | | | | | | | |
| * | | | | | | | | | | | BUG: Fix typo in new version checksSebastian Berg2023-04-041-1/+1
| | | | | | | | | | | | |
| * | | | | | | | | | | | MAINT: Bump version in mesonSebastian Berg2023-04-041-1/+2
| | | | | | | | | | | | |