| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
In _ctypes class, ctypes.cast() was called twice. It causes circular reference
for _ctypes._data due to the CPython bug https://bugs.python.org/issue12836.
|
|\
| |
| | |
ENH: Print the amount of memory that would be used by a failed allocation
|
| | |
|
|\ \
| | |
| | | |
BUG: random.hypergeometic assumes npy_long is npy_int64, hangs ppc64
|
| | |
| | |
| | |
| | | |
Fixes #14457
|
|\ \ \
| |/ /
|/| | |
MAINT: Fix bloated mismatch error percentage in array comparisons.
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
BUG: view with fieldless dtype should raise if itemsize != 0
|
| | | |
| | | |
| | | |
| | | | |
Fixes #13438
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Fixes #14344
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
These aren't public, and should have been added with underscores.
|
|\ \ \ \
| | | | |
| | | | | |
DOC: random: fix doc linking, was referencing private submodules.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Closes gh-14359
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
DOC: clarify that PytestTester is non-public
|
| |/ / / |
|
|\ \ \ \
| | | | |
| | | | | |
ENH: Always produce a consistent shape in the result of `argwhere`
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | | |
Previously this would return 1d indices even though the array is zero-d.
Note that using atleast1d inside numeric required an import change to avoid a circular import.
|
|\ \ \ \
| | | | |
| | | | | |
DOC: add the reference to 'printoptions'
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
We add the reference to 'printoptions' context manager in "See Also"
section in 'set_printoptions' and 'get_printoptions' functions.
These changes improve the documentation and make it easy to search.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* introduce inv_fct to avoid divisions by zero
* add comment describing the purpose of inv_fct
* inv_fct -> inv_norm
|
|\ \ \ \ \
| | | | | |
| | | | | | |
BUG: Do not show Override module in private error classes.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
While IPython seems to not print the module information (or only
prints qualname), python adds the full module, so it needs to be
overridden to not be printed on error.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
BUG: Fix uint-overflow if padding with linear_ramp and negative gain
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
linspace supports non-scalar values since version 1.16. This can replace
the former _linear_ramp method.
This removes a bug in the old implementation where certain edge and
end values resulted in an integer underflow for unsigned dtypes (see
gh-14191). Protect against this regression with a new test for all
numeric dtypes.
|
| |_|/ / / /
|/| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixed maximum relative error reporting in assert_allclose:
In cases where the two arrays have zeros at the same positions it will
no longer report nan as the max relative error
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
BUG: test, fix regression in converting to ctypes
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Co-Authored-By: Eric Wieser <wieser.eric@gmail.com>
|
| | | | | | |
|
| | |_|_|/
| |/| | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
DOC: fix issue with __new__ usage in subclassing doc.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
[ci skip]
|
| |/ / / /
| | | | |
| | | | |
| | | | | |
Closes gh-14386.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
BUG: Fix aradixsort indirect indexing.
|
| | |_|/ /
| |/| | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
ENH: supply our version of numpy.pxd, requires cython>=0.29
|
| |/ / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
BUG: Fix format statement associated with AttributeError.
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Before this fix, a reference such as `numpy.wxyz` produced an
incorrect error message because of the invalid format specifiers
in the error message string:
>>> import numpy
>>> numpy.wxyz
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/.../numpy/__init__.py", line 206, in __getattr__
"module %s has no attribute $s".format(__name__, attr))
AttributeError: module %s has no attribute $s
After the fix:
>>> import numpy
>>> numpy.wxyz
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/.../numpy/__init__.py", line 206, in __getattr__
"{!r}".format(__name__, attr))
AttributeError: module 'numpy' has no attribute 'wxyz'
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
MAINT: Remove redundant deprecation checks
|
| | | | |
| | | | |
| | | | |
| | | | | |
These deprecations already happen inside `vanderf`, so don't need to be repeated here.
|