| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| | |
BUG: Fix logic in ndindex to match __init__ method. Fixes bug in ndindex((3,))
|
| | |
|
| | |
|
|\ \
| |/
|/| |
ENH: Allow 0-d indexes in np.take
|
| |
| |
| |
| |
| |
| |
| | |
The TakeFrom already supported this. This removes the check which
made it not possible and adds some tests for take.
Also add documentation and information to the release notes.
|
| | |
|
| | |
|
|\ \
| | |
| | | |
fix numpy.i for python 3
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
PyFile_Check and PyInstance_Check have been removed from the C API
for python 3. This removes calls to those two functions from
numpy.i for PY_MAJOR_VERSION >= 3 so that it builds with a
python 3 Python.h.
|
|\ \ \
| | | |
| | | | |
Fix print negative float zero
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The issue was that the string value of scalar floating types equal to -0.0
lacked a trailing ".0".
>>> print np.float64(-0.0)
-0
The problem resulted from using val < 0 to check for a leading negative
sign. That expression evaluates false when val = -0.0, and the need to
append ".0" was not detected.
|
|\ \ \
| | | |
| | | | |
BUG: Fix segfault in np.result_type for None input.
|
| |/ /
| | |
| | |
| | |
| | | |
Makes behavior identical to np.dtype(None), which fits to how
the function works.
|
|\ \ \
| |/ /
|/| | |
BUG: Fix memory leak in ndarray construction from strings (gh-2927)
|
|/ / |
|
|\ \
| | |
| | | |
Remove scons support
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These references were in MANIFEST.in, doc/summarize.py, release.sh, and
numpy/testing/noseclasses.py and involved scons files that have been
removed, mostly setupscons.py and setupsconsegg.py that were in the top
level.
|
| | | |
|
| | |
| | |
| | |
| | | |
These tools are not directly related to numpy builds.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This removes files and code supporting scons builds. After this change
numpy will only support builds using distutils or bento. The removal of
scons has been discussed on the list several times and a decision has been
made that scons support is no longer needed. This was originally discussed
for numpy 1.7 and because the distutils and bento methods are still
available we are skipping the usual deprecation period.
|
|\ \ \
| | | |
| | | | |
Fix for #2895 ndindex failing
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Fix ndindex for 0-d arrays.
Add tests for tuple arguments to ndindex
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Call to ndindex() with no arguments results in a ValueError exception, whereas before commit ca27396b, a call with no arguments was allowed.
Issue is due to unneeded check for shape tuple size.
|
|\ \ \ \
| |_|/ /
|/| | | |
Nonarray assignment regression for boolean indexing and 1d unsafe casting
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Also make sure right hand side is converted safely to the right
type if it is not an array though.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Enforcing the left hand side datatype for a non-array right hand side
argument in index assignments was the behavior before 1.7. and is the
general behaviour here. (note this means a non-array right hand side
checks for NaN, etc. if the left hand side is integer, but an array
right hand side does not)
|
|\ \ \ \
| | | | |
| | | | | |
remove a confusing docstring line
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
ones_like:
"With default parameters, is equivalent to a.copy().fill(1)."
This is not technically true, because 'fill' returns None.
|
|\ \ \ \
| | | | |
| | | | | |
Fix typo in SVD usage example
|
| |/ / / |
|
|\ \ \ \
| |/ / /
|/| | | |
Update numpy/core/code_generators/ufunc_docstrings.py
|
|/ / / |
|
|\ \ \
| |/ /
|/| | |
Add support for AArch64 architecture
|
|/ /
| |
| |
| | |
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
|
|\ \
| |/
|/| |
TST: Add tests for constants.
|
| |
| |
| |
| |
| | |
Test the values of np.pi, np.e, and np.euler_gamma to make sure
they are correct to relative tolerance 1e-15.
|
|\ \
| | |
| | | |
BUG: Fix CheckStrides and strides setter checks for available memory
|
| | |
| | |
| | |
| | | |
Adding const and removing old comment.
|
| | |
| | |
| | |
| | |
| | | |
Also adds a test to check offset calculation is correct when
setting strides for a base array with negative strides.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This changes the logic of PyArray_CheckStrides to really check the
full extent the new array will have. It also changes the stride
setting to calculate the full real extent of the underlying array
without assuming (usually correctly) that the strides of the base
array are regular.
Add some tests for cases that previously failed.
This "closes Issue gh-2503"
|