| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
BUG: loosen kwargs requirements in ediff1d
|
| | |
|
|\ \
| | |
| | | |
BUG: Ensure probabilities are not NaN in choice
|
| | |
| | |
| | |
| | |
| | |
| | | |
Add a check for NaN probabilities in random.choice
closes #11250
|
|\ \ \
| | | |
| | | | |
BUG: Fix leak of void scalar buffer info
|
| | | |
| | | |
| | | |
| | | | |
See also gh-12624
|
| | | |
| | | |
| | | |
| | | |
| | | | |
When the buffer was created and an error was found during the format
string construction, the buffer was not freed correctly.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The vois scalar was missing the clearing logic for the buffer info
cache (or storage).
It should maybe be checked whether we can replace all of this logic
when not supporting Python 2 anymore.
|
|\ \ \ \
| |_|_|/
|/| | | |
TST: Check FFT results for C/Fortran ordered and non contigous input
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
ENH: Improve error messages for non-matching shapes in concatenate.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
... by including the indices and shapes of the arrays whose shape
differ.
|
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This implements cyclic support by adding `tp_traverse` to ufuns which may contain
a user provided object function (`np.frompyfunc`). Ufuncs that do not add this are not
added to the circular reference count tracking.
The ufunc does not need to implement `tp_clear` because it is an immutable object.
|
|\ \ \ \
| | | | |
| | | | | |
ENH: remove "Invalid value" warnings from median, percentile
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
DEV: remove _arg from public API, add matmul to benchmark ufuncs
|
| |/ / / / |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
BUG: Make pocketfft handle long doubles.
|
| | | | | | |
|
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
tweak and add test
better fix
fix
cleanup, additional test
fix test
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
MAINT: Further fixups to uint alignment checks
|
| | |/ /
| |/| | |
|
|\ \ \ \
| |_|/ /
|/| | | |
BUG: Ensure failing memory allocations are reported
|
| | | |
| | | |
| | | |
| | | | |
Despite the strange tone, gh-12674 did identify a series of low-impact bugs in PyArray_RegisterCanCast
|
|\ \ \ \
| | | | |
| | | | | |
BUG: Add 'sparc' to platforms implementing 16 byte reals.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is for the _selected_real_kind_func function in
f2py/crackfortran.py
|
| |_|/ /
|/| | | |
|
|\ \ \ \
| | | | |
| | | | | |
BUG: polyval returned non-masked arrays for masked input.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This fix will preserve subtypes of ndarray when given as input (x)
to the polyval function. In particular, the results for masked
values of a masked array will be masked.
Fixes #2477.
|
| |/ / /
|/| | |
| | | |
| | | |
| | | | |
In this implementation, if the ufunc does not have an identity, it needs
an initial vavlue to be supplied.
|
|\ \ \ \
| | | | |
| | | | | |
BUG: fix uint alignment asserts in lowlevel loops
|
| | | | | |
|
| | | | |
| | | | |
| | | | | |
squash-merged
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* as requested by review in gh-12634,
the vast majority of docstring matplotlib
imports can be simplified to a single line
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* there is no longer any usage of "agg"
backend switching in our docstrings because
this backend is already activated in
the refguide_check machinery
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Example behavior:
>>> x = np.array([1, 2, 3])
>>> y = np.array([1, 2, 3.0001])
>>> np.testing.assert_allclose(x, y)
AssertionError:
Not equal to tolerance rtol=1e-07, atol=0
Mismatch: 33.3%
Max absolute difference: 0.0001
Max relative difference: 3.33322223e-05
x: array([1, 2, 3])
y: array([1. , 2. , 3.0001])
Motivation: when writing numerical algorithms, I frequently find myself
experimenting to pick the right value of `atol` and `rtol` for
`np.testing.assert_allclose()`. If I make the tolerance too generous, I risk
missing regressions in accuracy, so I usually try to pick the smallest values
for which tests pass. This change immediately reveals appropriate values to
use for these parameters, so I don't need to guess and check.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
ENH: add mm->q floordiv
|
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* add support for floor division between
timedelta64 (m8) operands with generic
or specific units; type signature is
mm->q
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
MAINT: add warning to numpy.distutils for LDFLAGS append behavior.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
See gh-7427
|
|\ \ \ \ \
| | | | | |
| | | | | | |
MAINT: add test for 12-byte alignment
|
| | | | | | |
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
DOC: Correct documentation of `numpy.delete` obj parameter.
|
| | | | | | |
|
| |/ / / /
|/| | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
BUG: longdouble with elsize 12 is never uint alignable
|
| | | | | | |
|