| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |\
| |
| | |
REL: Prepare for the NumPy 1.18.4 release.
|
| |/
|
|
|
| |
- Finish the 1.18.4-notes.rst.
- Create the 1.18.4-changelog.rst
|
| |\
| |
| | |
Backport 16014
|
| | | |
|
| | |
| |
| | |
Co-Authored-By: Ross Barnowski <rossbar@berkeley.edu>
|
| |/
|
|
|
|
|
|
|
| |
This makes the C-API failed to load import error link to a new
troubleshooting document in the user documentation. It links
to the devdocs directly, since it should be possible to update the
information at any time (e.g. when a new setup starts making issues).
As these are not NumPy issues, their occurance is not tied to the
NumPy release process.
|
| |\
| |
| | |
REV: Reverts side-effect changes to casting
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This mostly reverts commit 6b954aa47bcce17cd7497d41f818950f847fbd8e
to ensure only the longdouble floating point numbers are changed, for
which this was a bugfix was relevant.
All other numbers should be unchanged (and were faster with the change),
but revert since this is a bugfix release.
Mainly the string->boolean conversions where accidentally changed to
arguably more correct behaviour. But this should not have happend
accidentally, especially in a bug-fix branch.
Another corner case change is that string->datetime casts within
hypothetical C-extensions doing manual C-level casting was fixed to be in
line with normal string -> datetime casts (the cast was inconsistently
defined).
This revert is only applied as a backport. The second change will remain
included in the next non-bugfix release while the first is fixed in
a more specific in cleaner manner.
|
| |\ \
| | |
| | | |
BLD: put openblas library in local directory on windows
|
| |/ /
| |
| |
| |
| |
| |
| |
| | |
* BLD: put openblas library in local directory on windows
* TST: fix broken pip install on windows
* BLD: handle 64-bit windows BLAS
|
| |\ \
| | |
| | | |
BUG: random: Generator.integers(2**32) always returned 0.
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add repeatability tests for when the range of the integers is `2**32`
(and `2**32 +/- 1` for good measure) with broadcasting. The underlying
functions called by Generator.integers and random.randint when the
inputs are broadcast are different than when the inputs are scalars.
|
| | | |
| | |
| | |
| | |
| | | |
Assert that an invalid value (2**n-1 for n = 8, 16, 32, 64) has not
been passed to the Lemire function.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When the input to Generator.integers was 2**32, the value 2**32-1
was being passed as the `rng` argument to the 32-bit Lemire method,
but that method requires `rng` be strictly less then 2**32-1.
The fix was to handle 2**32-1 by calling next_uint32 directly.
This also works for the legacy code without changing the stream
of random integers from `randint`.
Closes gh-16066.
|
| |\ \ \
| |_|/
|/| | |
BLD: fix path to libgfortran on macOS
|
| | | | |
|
| | |/ |
|
| |\ \
| |/
|/| |
BLD: add i686 for 1.18 builds
|
| |/ |
|
| | |
|
| | |
|
| |\
| |
| | |
REL: Prepare for NumPy 1.18.3 release.
|
| |/
|
|
|
|
| |
- Create 1.18.3-changelog
- Update 1.18.3-release notes.
- Clear upcoming_changes
|
| |\
| |
| | |
BUG: Alpha parameter must be 1D in `generator.dirichlet`
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Only one dimensional alpha paramter is currently supported, but higher
dimensions were silently allowed and gave an incorrect results. This
fixes the regression. In the future, the API could be extended to allow
higher dimensional arrays for alpha.
Fixes gh-15915
|
| |\ \
| |/
|/| |
BUG: Check that `pvals` is 1D in `_generator.multinomial`.
|
| | | |
|
| | | |
|
| | | |
|
| |/ |
|
| |\
| |
| | |
BUG: Guarantee array is in valid state after memory error occurs in getset.c
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently, in function array_shape_set, ndarray's pointers to dimensions
and strides are freed before new array is allocated (Line 71). In case
memory error occur, the array is left with dangling pointers. Therefore,
we can not recover from such error.
* To guarantee array in valid state when memory error occur
* Fix: Free cache when nd == 0 to avoid memory leak
* Update numpy/core/src/multiarray/getset.c
Co-Authored-By: Eric Wieser <wieser.eric@gmail.com>
|
| |\ \
| |/
|/| |
BUG,MAINT: Remove incorrect special case in string to number casts
|
| | | |
|
| |/
|
|
|
|
|
|
|
| |
The string to number casts fall back to using the scalars and
the type setitem function to do the cast.
However, before calling setitem, they sometimes already called
the Python function for string coercion. This is unnecessary.
Closes gh-15608
|
| |\
| |
| | |
Bug: Fix eigh and cholesky methods of numpy.random.multivariate_normal
|
| |/
|
|
| |
Fixes #15871
|
| | |
|
| | |
|
| |\
| |
| | |
BUG: fix logic error when nm fails on 32-bit
|
| |/ |
|
| |\
| |
| | |
REL: Prepare for 1.18.2 release.
|
| |/
|
|
|
| |
- Update release notes.
- Create changelog
|
| |\
| |
| | |
MAINT: use list-based APIs to call subprocesses
|
| |/
|
|
|
|
|
|
|
| |
* MAINT: use list-based APIs to call subprocesses
* TST, MAINT: add a test for mingw32ccompiler.build_import, clean up lib2def
Co-authored-by: Matti Picus <matti.picus@gmail.com>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Also remove `nose` from test_requirements.py.
|
| |\
| |
| | |
BUG: Added missing error check in `ndarray.__contains__`
|
| |/
|
|
|
|
| |
Addes missing check for NULL return.
resolves #15552
resolves pandas-dev/pandas#31922
|
| |\
| |
| | |
MAINT: Large overhead in some random functions
|