| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
Fix inner product regression
|
| | | | | |
|
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | | |
In response to Ticket #4724, explain that the 'index_array' returned by
'argparse' can only be used to (directly) sort a one-dimensional input
array.
|
|\ \ \ \
| |/ / /
|/| | | |
Potential fix for #6462
|
| |/ /
| | |
| | |
| | |
| | | |
np.median([]) returns NaN. Fixes bug/regression that raised an IndexError.
Added tests to ensure continued support of empty arrays.
|
|\ \ \
| | | |
| | | | |
BUG: scalar argument to ma.atleast_* return arrays
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The np.ma.atleast_1d, np.ma.atleast_2d, np.ma.atleast_3d and np.ma.diagflat
function return arrays when given a scalar in the same manner as their non-ma
counterparts. Previously these function would return None.
Additionally, the np.ma vstack, row_stack, hstack, column_stack, dstack, and
hsplit functions now raise an expection when given a scalar argument.
closes #3367
|
|\ \ \
| | | |
| | | | |
BUG: ma.masked_values does not shrink mask if requested
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When called with the shrink parameter set to False, np.ma.masked_values
will create a False filled array mask and not shrink the mask.
Previously the mask would be shrunk to a single False scalar.
closes #2674
|
|\ \ \
| | | |
| | | | |
Remove version.py.in, no longer used
|
| | | |
| | | |
| | | |
| | | | |
This file was used by Bento. This was left over and is longer being used.
|
| |/ /
| | |
| | |
| | | |
This file was used by Bento. This was left over and is no longer being used.
|
| | |
| | |
| | |
| | |
| | | |
Use assert_array_almost_equal instead of assert_array_equal when
comparing against python.math functions.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Revert mingwpy modifications to distutils. They are causing problems
for non-windows builds and it is better to wait until mingypy is
further along.
This reverts commit 96abd32de241864ee97f30357234cbc9a96c43ae, reversing
changes made to 06af9918f6bf03b8d818ec834f9fb48db57d1489.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Revert mingwpy modifications to distutils. They are causing problems
for non-windows builds and it is better to wait until mingypy is
further along.
This reverts commit cda64938eb150b1af6677db4754da3be5fd7e483, reversing
changes made to 8cb3ec6ab804f594daf553e53e7cf7478656bebd.
|
| |
| |
| |
| |
| | |
Skip safety-checks in views as long as neither old or new dtypes of view
may have objects.
|
| |
| |
| |
| |
| | |
Bypass unneeded "view" safety checks in voidtype_ subscript/assignment
methods, by falling back to ndarray methods which skip the checks.
|
| |
| |
| |
| |
| | |
Bypass unneeded "view" safety-checks in `array_subscript` and
`array_assign_subscript`, by avoiding use of `PyArray_View`.
|
|\ \
| | |
| | | |
BUG: recarrays viewed as subarrays don't convert to np.record type
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Record array views were updated in #5943 to return np.record dtype
where possible, but forgot about the case of sub-arrays.
That's fixed here, so accessing subarray fields by attribute or index
works sensibly, as well as viewing a record array as a subarray dtype,
and printing subarrays.
This also happens to fix #6459, since it affects the same lines.
Fixes #6497 #6459
|
|\ \ \
| |/ /
|/| | |
ENH: Hide testing helper tracebacks when using them with pytest
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Cleanup 6306: BUG: allow extension of common blocks in numpy.f2py
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Lack of this feature resulted in the generation of incorrect *.pyf
files.
For example, the pyf file created by:
subroutine sub3 (some arguments)
real a, b, c, d
common /coeff/ a, b
common /coeff/ c, d
<do stuff>
return
end
Should contain both common statements the declaration of all four
variables a, b, c, and d.
Closes #5876.
|
|\ \ \ \
| | | | |
| | | | | |
Cleanup of 6307: BUG: Allow nested use of parameters for array dimensions in f2py.
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Nested use of parameters in specifying dimensions caused problems.
For example
parameter (i=7)
common buf(nvar*(nvar+1) * (n + 1))
This fix was suggested by Pearu on github.
Closes #5877.
|
|\ \ \ \
| | | | |
| | | | | |
LIBPATH with spaces is now supported Python 2.7+ and Win32
|
| |/ / / |
|
| | | | |
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | | |
This approach is less error prone than switching from "develop" to "release"
in maintenance branches by hand. See gh-6461 for details.
|
|\ \ \
| | | |
| | | | |
BUG: Replacing the os.environ.clear by less invasive procedure
|
| | | | |
|
|\ \ \ \
| |_|_|/
|/| | | |
BUG: ma.put expands nomask
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Previously when put was used on a MaskedArray with nomask the mask would be
incorrectly set to the mask of the values argument.
closes #6425
|
| | | |
| | | |
| | | |
| | | | |
See @rkern's comment in #6382.
|
|\ \ \ \
| | | | |
| | | | | |
Update 6440, BLD: enable SSE2 for 32-bit msvc 9 and 10 compilers.
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
BUG: mask nan to 1 in ordered compare
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
msvc2008 32 bit seems to miscompile it otherwise.
closes gh-6428
|
| |/ / / /
|/| | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
MAINT: remove Wreturn-type warnings from config checks
|
| |/ / / /
| | | | |
| | | | |
| | | | | |
closes gh-6427
|
|\ \ \ \ \
| | | | | |
| | | | | | |
DOC: first attempt at documenting load_library.
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Found some doco at
http://docs.scipy.org/doc/numpy-dev/user/c-info.python-as-glue.html
which seemed to describe the function, so used that.
|
| | | | | | |
|