| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | | | | | | | | | |
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
The API here designed is "future" in the sense that it implementes
NEP 50 and exposes loop specializations as per NEP 43 which is barely
used by NumPy itself at this point.
Due to the fact that NEP 50 is not implemented (or rather finalized)
this API is not ideal and creates dummy-arrays internally so that
it is not much faster than if the user created dummy arrays to
probe the correct result.
|
| |\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
BUG: fix misleading error message
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
| | | | | | | | | | | | | |
|
| | | |/ / / / / / / / /
| | |/| | | | | | | | |
| | | | | | | | | | | | |
closes gh-22570
|
| |\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
DOC: Clarify relationship between row_stack and vstack.
|
| | | | | | | | | | | | | |
|
| |\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
MAINT: Fix designator order not matching declaration order
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
Example error:
array_method.c:487:1: error: designator order for field '_typeobject::tp_dealloc' does not match declaration order in 'PyTypeObject' {aka '_typeobject'}
487 | };
| ^
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
Some parameters like pad_width or stat_length claimed to expect tuples-of-tuples as
input, but in practice they also work with single tuples. The parameter descriptions of the
relevant parameters are updated in the docstring to reflect this implicit tuple wrapping
behavior.
Co-authored-by: 渡邉 美希 <miki.watanabe@watanabenoMacBook-Pro.local>
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
ENH, CI: Add Emscripten to CI
|
| | | | | | | | | | | | | | | |
|
| | | |_|_|_|_|_|/ / / / / /
| | |/| | | | | | | | | | | |
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| | |_|_|/ / / / / / / / / /
| |/| | | | | | | | | | | | |
TYP: Update type annotations for new 1.24 features
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
Xref https://github.com/numpy/numpy/pull/22456
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
Xref https://github.com/numpy/numpy/pull/21468
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
Xref https://github.com/numpy/numpy/pull/21627
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
Xref https://github.com/numpy/numpy/pull/22228
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
Xref https://github.com/numpy/numpy/pull/16154
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| | |/ / / / / / / / / / / /
| |/| | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
MAINT: Patch to remove ncola variable from f2c_blas.c
[ci skip]
|
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
[skip ci]
|
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| | |/ / / / / / / / / / / /
| |/| | | | | | | | | | | | |
MAINT: Rm meaningless checks in determining typeless data
|
| | | |_|/ / / / / / / / /
| | |/| | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
The issubclass should always be false in Python3, so this change
should not change behavior.
|
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
This fixes some annoying build warnings.
|
| |\ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
BLD: fix issue with header includes in dlpack.c
|
| | | | | | | | | | | | | | |
|
| |/ / / / / / / / / / / /
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
This saves doing an expensive configure-time check that does
not seem needed.
|
| |/ / / / / / / / / / /
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
assert() only takes one argument.
This was recently introduced, in commit 4156ae260 (gh-21793)
|
| |\ \ \ \ \ \ \ \ \ \ \
| | |/ / / / / / / / / /
| |/| | | | | | | | | | |
BUG: Fix use and errorchecking of ObjectType use
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
This is by just undefining the function that should never have been
defined to begin with.
|
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
This should be replaced really, it is pretty bad API use, and doesn't
work well (up to being incorrect probably).
But working on other things (trying to make promotion strict and thus
saner), I realized that the use was always wrong: we cannot pass 0
since 0 means `bool`, what was always meant was passing no-type.
So fixing this, and adding the error check everywhere. Checking
for `PyErr_Occurred()` may have been necessary at some point, but
is not anymore.
|
| |\ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
MAINT: Do not use temporary struct construct
|
| | | |/ / / / / / / / /
| | |/| | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Error was:
dtype_transfer.c:2979:28: error: taking address of temporary array
2979 | (char *[2]){main_src, main_dst}, &block_size,
| ^~~~~~~~~~~~~~~~~~~~
|
| |\ \ \ \ \ \ \ \ \ \ \
| | |_|/ / / / / / / / /
| |/| | | | | | | | | | |
DEP: Expire deprecation of dtype/signature allowing instances
|
| | |/ / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
We never really allowed instances here and deprecated it since
NumPy 1.21 (it just failed completely in 1.21.0).
|
| | |_|_|_|_|_|/ / /
| |/| | | | | | | | |
|
| |\ \ \ \ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | | |
DOC: How to partition domains
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Also add links to this document from the functions' docstrings.
|
| | | | | | | | | | | |
|
| |\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
MAINT: Match arguments of constant in `isless()`
|
| | | |/ / / / / / / /
| | |/| | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Error was:
npy_math_internal.h.src:570:24: error: no matching function for call to 'isless(npy_float&, int)'
570 | if (isless(b, 0) != isless(mod, 0)) {
| ^
|
| |\ \ \ \ \ \ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | | |
MAINT: Fix Fortran order flag use (using bool rather than enum)
|
| | |/ / / / / / / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Error was:
ndarraytypes.h:1503:75: error: cannot convert 'bool' to 'NPY_ORDER' in assignment
|
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
* DEP: Expire deprecation to ignore bad dtype= in logical ufuncs
Basically only `bool` and `object dtype make sense, but they did
not work correctly. The dtype argument was rather ignored often.
The offending behavior was deprecated in 1.20 and is now removed.
Co-authored-by: Sebastian Berg <sebastianb@nvidia.com>
Co-authored-by: Charles Harris <charlesr.harris@gmail.com>
|
| |/ / / / / / / / /
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
See also https://github.com/data-apis/array-api/pull/498.
I think we should just change this. It is a niche feature and just
an error type change.
Closes gh-20742
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
That is, once the NEP 50 transition happens
|