summaryrefslogtreecommitdiff
path: root/numpy
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Merge pull request #6546 from argriffing/fix-inner-product-regressionCharles Harris2015-10-232-2/+36
|\ \ \ \ \ | |_|_|/ / |/| | | | Fix inner product regression
| * | | | BUG: fix inner() by copying if needed to enforce contiguityalex2015-10-232-2/+36
| | | | |
* | | | | DOC: clarify usage of 'argparse' return value.lzkelley2015-10-211-1/+1
| |/ / / |/| | | | | | | | | | | | | | | | | | | 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.
* | | | Merge pull request #6527 from ethankruse/6462fixCharles Harris2015-10-212-1/+29
|\ \ \ \ | |/ / / |/| | | Potential fix for #6462
| * | | BUG: Make median work for empty arrays (issue #6462)Ethan Kruse2015-10-212-1/+29
| |/ / | | | | | | | | | | | | np.median([]) returns NaN. Fixes bug/regression that raised an IndexError. Added tests to ensure continued support of empty arrays.
* | | Merge pull request #6537 from jjhelmus/ma_atleast_fixCharles Harris2015-10-212-4/+28
|\ \ \ | | | | | | | | BUG: scalar argument to ma.atleast_* return arrays
| * | | BUG: scalar argument to ma.atleast_* return arraysJonathan Helmus2015-10-202-4/+28
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge pull request #6538 from jjhelmus/ma_fix_shrinkCharles Harris2015-10-212-2/+7
|\ \ \ | | | | | | | | BUG: ma.masked_values does not shrink mask if requested
| * | | BUG: ma.masked_values does not shrink mask if requestedJonathan Helmus2015-10-202-2/+7
| |/ / | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge pull request #6533 from Sumith1896/versionCharles Harris2015-10-212-10/+0
|\ \ \ | | | | | | | | Remove version.py.in, no longer used
| * | | MAINT: Remove __config__.py.in.Sumith2015-10-211-2/+0
| | | | | | | | | | | | | | | | This file was used by Bento. This was left over and is longer being used.
| * | | MAINT: Remove version.py.in.Sumith2015-10-211-8/+0
| |/ / | | | | | | | | | This file was used by Bento. This was left over and is no longer being used.
* | | MAINT: Restore test fix that was reverted.Charles Harris2015-10-201-1/+1
| | | | | | | | | | | | | | | Use assert_array_almost_equal instead of assert_array_equal when comparing against python.math functions.
* | | Revert "Merge pull request #5614 from charris/cleanup-gh-5587"Charles Harris2015-10-205-86/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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 "Merge pull request #6354 from mingwpy/mingwpy"Charles Harris2015-10-206-41/+36
|/ / | | | | | | | | | | | | | | | | 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.
* | MAINT: Speedup field access by removing unneeded safety checks (3/3)Allan Haldane2015-10-184-21/+55
| | | | | | | | | | Skip safety-checks in views as long as neither old or new dtypes of view may have objects.
* | MAINT: Speedup field access by removing unneeded safety checks (2/3)Allan Haldane2015-10-182-55/+66
| | | | | | | | | | Bypass unneeded "view" safety checks in voidtype_ subscript/assignment methods, by falling back to ndarray methods which skip the checks.
* | MAINT: Speedup field access by removing unneeded safety checks (1/3)Allan Haldane2015-10-185-132/+254
| | | | | | | | | | Bypass unneeded "view" safety-checks in `array_subscript` and `array_assign_subscript`, by avoiding use of `PyArray_View`.
* | Merge pull request #6500 from ahaldane/recarray_view_fixCharles Harris2015-10-182-11/+42
|\ \ | | | | | | BUG: recarrays viewed as subarrays don't convert to np.record type
| * | BUG: recarrays viewed as subarrays don't convert to np.record typeAllan Haldane2015-10-172-11/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge pull request #5773 from ml31415/pytest_traceback_hidePauli Virtanen2015-10-171-0/+15
|\ \ \ | |/ / |/| | ENH: Hide testing helper tracebacks when using them with pytest
| * | PEP8 applied to commentsMichael Löffler2015-05-141-15/+15
| | |
| * | Comments addedMichael Löffler2015-04-201-15/+15
| | |
| * | pytest traceback hide markers set for testing helpersMichael Löffler2015-04-191-0/+15
| | |
* | | Merge pull request #6488 from charris/cleanup-6306Charles Harris2015-10-161-5/+2
|\ \ \ | | | | | | | | Cleanup 6306: BUG: allow extension of common blocks in numpy.f2py
| * | | BUG: allow extension of common blocks in numpy.f2pyAlexander Heger2015-10-161-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge pull request #6487 from charris/cleanup-6307Charles Harris2015-10-161-3/+4
|\ \ \ \ | | | | | | | | | | Cleanup of 6307: BUG: Allow nested use of parameters for array dimensions in f2py.
| * | | | BUG: Allow nested use of parameters for array dimensions in f2py.Alexander Heger2015-10-161-3/+4
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge pull request #6481 from charris/foreport-gh-5765Charles Harris2015-10-161-2/+2
|\ \ \ \ | | | | | | | | | | LIBPATH with spaces is now supported Python 2.7+ and Win32
| * | | | LIBPATH with spaces is now supported Python 2.7+ and Win32Gabi Davar2015-10-161-2/+2
| |/ / /
* | | | Fixed a typo in np.inner docSamuel St-Jean2015-10-161-1/+1
| | | |
* | | | BUG: Fix Intel compiler flags for OS X buildChris Hogan2015-10-151-2/+12
| | | |
* | | | TST: raise errors for dev versions and warnings for releases on test runs.Ralf Gommers2015-10-151-9/+13
|/ / / | | | | | | | | | | | | This approach is less error prone than switching from "develop" to "release" in maintenance branches by hand. See gh-6461 for details.
* | | Merge pull request #6460 from behrisch/minimize_os_environ_adaptionsCharles Harris2015-10-131-8/+9
|\ \ \ | | | | | | | | BUG: Replacing the os.environ.clear by less invasive procedure
| * | | Update __init__.pybehrisch2015-10-041-8/+9
| | | |
* | | | Merge pull request #6432 from jjhelmus/fix_ma_putahaldane2015-10-122-9/+25
|\ \ \ \ | |_|_|/ |/| | | BUG: ma.put expands nomask
| * | | BUG: ma.put expands nomaskJonathan Helmus2015-10-122-9/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | DEP: Remove warning for `full` when dtype is set.Antony Lee2015-10-112-5/+7
| | | | | | | | | | | | | | | | See @rkern's comment in #6382.
* | | | Merge pull request #6444 from charris/gh-6440Charles Harris2015-10-111-0/+7
|\ \ \ \ | | | | | | | | | | Update 6440, BLD: enable SSE2 for 32-bit msvc 9 and 10 compilers.
| * | | | DOC: Document the reason msvc requires SSE2 on 32 bit platforms.Charles Harris2015-10-101-0/+2
| | | | |
| * | | | BLD: enable SSE2 for 32-bit msvc 9 and 10 compilersChristoph Gohlke2015-10-101-0/+5
| | | | |
* | | | | Merge pull request #6438 from juliantaylor/msvc-workaroundCharles Harris2015-10-111-1/+3
|\ \ \ \ \ | | | | | | | | | | | | BUG: mask nan to 1 in ordered compare
| * | | | | BUG: mask nan to 1 in ordered compareJulian Taylor2015-10-101-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | msvc2008 32 bit seems to miscompile it otherwise. closes gh-6428
* | | | | | DOC: add lib.Arrayterator to reference guide. Closes gh-6404.Ralf Gommers2015-10-113-5/+10
| |/ / / / |/| | | |
* | | | | Merge pull request #6436 from juliantaylor/conf-warningsCharles Harris2015-10-101-0/+2
|\ \ \ \ \ | | | | | | | | | | | | MAINT: remove Wreturn-type warnings from config checks
| * | | | | MAINT: remove Wreturn-type warnings from config checksJulian Taylor2015-10-091-0/+2
| |/ / / / | | | | | | | | | | | | | | | closes gh-6427
* | | | | Merge pull request #6309 from pizzathief/issue6191Ralf Gommers2015-10-101-0/+27
|\ \ \ \ \ | | | | | | | | | | | | DOC: first attempt at documenting load_library.
| * | | | | DOC: fixing some minor nitpicks. string to str, can't to cannot.jason king2015-10-051-3/+3
| | | | | |
| * | | | | DOC: first attempt at documenting load_library.jason king2015-09-121-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | BLD: do not build exclusively for SSE4.2 processorsChristoph Gohlke2015-10-091-1/+1
| | | | | |