Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MAINT - update comments related to searchsorted to be consistent with code. | Bago Amirbekian | 2013-08-17 | 1 | -8/+8 |
| | |||||
* | RF - have searchsorted copy haystack when the needle is bigger than the haystack | Bago Amirbekian | 2013-08-17 | 1 | -12/+14 |
| | |||||
* | BF - cast psorter pointer to intp | Bago Amirbekian | 2013-08-17 | 1 | -3/+3 |
| | |||||
* | TST - add testing of searchsorted on unaligned arrays | Bago Amirbekian | 2013-08-17 | 1 | -4/+61 |
| | |||||
* | RF - allow ndarray.searchsorted to avoid making a copy for non-contiguous arrays | Bago Amirbekian | 2013-08-17 | 1 | -18/+26 |
| | |||||
* | Merge pull request #3630 from rgommers/fix-median | Charles Harris | 2013-08-17 | 2 | -56/+74 |
|\ | | | | | BUG: fix np.median so it accepts array_like input. Clean up median test... | ||||
| * | BUG: fix np.median so it accepts array_like input. Clean up median tests. | Ralf Gommers | 2013-08-17 | 2 | -56/+74 |
| | | |||||
* | | Merge pull request #3628 from seberg/issue-3589 | Charles Harris | 2013-08-17 | 2 | -19/+48 |
|\ \ | |/ |/| | BUG: MapIter leaked itself and arr and index objects | ||||
| * | BUG: MapIter leaked itself and arr and index objects | Sebastian Berg | 2013-08-16 | 2 | -19/+48 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | MapIterBind incorrectly behaved when failing, cleaning up most but not everything. The callers have to decref the mapiter object. Which basically means that MapIterBind does not even have to decref the new fields (they are decrefed in the mapiter dealloc anyway). Note that trying to add tests checking the refcounting failed, but the tests seem to fail at least in many cases not because of the indexing. Closes gh-3589 | ||||
* | | MAINT: Move NPY_BEGIN_THREADS_DEF to end of declarations. | Charles Harris | 2013-08-16 | 1 | -11/+11 |
| | | | | | | | | | | | | | | | | | | | | The is an ';' at the end of the macro definition. When used and followed by another ';', gcc thinks a statement has been made. An empty statement, but still a statement. This causes compilation failure with Python 3.4a. The ';' should probably be removed, but that was undone in 1.7 to maintain backward compatibility. | ||||
* | | Change casting type for ufunc operands | Jay Bourque | 2013-08-16 | 1 | -1/+1 |
| | | |||||
* | | Bail out of loop if python error occurs | Jay Bourque | 2013-08-16 | 2 | -6/+14 |
| | | |||||
* | | Check for python error when needs_api flag is set | Jay Bourque | 2013-08-16 | 1 | -1/+6 |
| | | |||||
* | | Update docs | Jay Bourque | 2013-08-16 | 1 | -3/+3 |
| | | |||||
* | | Update docs | Jay Bourque | 2013-08-16 | 1 | -0/+3 |
| | | |||||
* | | Update docs | Jay Bourque | 2013-08-16 | 1 | -18/+24 |
| | | |||||
* | | Fix memory leaks and inc dtype refs | Jay Bourque | 2013-08-16 | 2 | -4/+10 |
| | | |||||
* | | Add decrefs at end of function and return None object | Jay Bourque | 2013-08-16 | 1 | -7/+19 |
| | | |||||
* | | Move gil release/aquire outside of loop | Jay Bourque | 2013-08-16 | 1 | -10/+10 |
| | | |||||
* | | Move NpyIter_IterNextFunc call outside of loop | Jay Bourque | 2013-08-16 | 1 | -7/+7 |
| | | |||||
* | | Add test for non native bytetypes | Jay Bourque | 2013-08-16 | 1 | -0/+6 |
| | | |||||
* | | Add test for empty subspace | Jay Bourque | 2013-08-16 | 1 | -0/+5 |
| | | |||||
* | | Add NpyIter_Deallocate | Jay Bourque | 2013-08-16 | 1 | -0/+2 |
| | | |||||
* | | Use Py_XDECREF in fail section | Jay Bourque | 2013-08-16 | 1 | -6/+3 |
| | | |||||
* | | Fix deprecation warning | Jay Bourque | 2013-08-16 | 1 | -1/+1 |
| | | |||||
* | | Reverse commit 6ec51b3 | Jay Bourque | 2013-08-16 | 1 | -10/+0 |
| | | |||||
* | | Remove unnecessary check | Jay Bourque | 2013-08-16 | 1 | -5/+3 |
| | | |||||
* | | More clean up | Jay Bourque | 2013-08-16 | 1 | -3/+4 |
| | | |||||
* | | Clean up previous comment and add test for unary ufunc. | Jay Bourque | 2013-08-16 | 2 | -7/+46 |
| | | |||||
* | | Use NpyIter object to buffer each input value | Jay Bourque | 2013-08-16 | 1 | -3/+99 |
| | | | | | | | | Use NpyIter object to buffer each input value in order to handle certain situations such as operands with mixed dtypes. | ||||
* | | Revert "Call iterator_loop instead of directly calling ufunc." | Jay Bourque | 2013-08-16 | 1 | -55/+22 |
| | | | | | | | | This reverts commit 2a9d5577a087e664ee047b3e099c1355000d8661. | ||||
* | | Maybe this will fix the DeprecationWarning | Jay Bourque | 2013-08-16 | 1 | -2/+2 |
| | | |||||
* | | Another attempt at fixing DeprecationWarning | Jay Bourque | 2013-08-16 | 1 | -2/+2 |
| | | |||||
* | | Fix DeprecationWarning on python 3.3 | Jay Bourque | 2013-08-16 | 1 | -1/+1 |
| | | |||||
* | | Add test for boolean indexing and boolean ufunc | Jay Bourque | 2013-08-16 | 1 | -0/+5 |
| | | |||||
* | | Add test for mixed dtypes | Jay Bourque | 2013-08-16 | 1 | -0/+5 |
| | | |||||
* | | Call iterator_loop instead of directly calling ufunc. | Jay Bourque | 2013-08-16 | 1 | -22/+55 |
| | | | | | | | | Call iterator_loop which will call ufunc and handle any buffering for cases with mixed dtypes. | ||||
* | | Just create an array object for second operand; don't cast to dtype of first ↵ | Jay Bourque | 2013-08-16 | 1 | -9/+3 |
| | | | | | | | | operand. | ||||
* | | Add tests for 0-dim array | Jay Bourque | 2013-08-16 | 1 | -5/+7 |
| | | |||||
* | | Improve comment for creating iter object from second operand | Jay Bourque | 2013-08-16 | 1 | -3/+7 |
| | | |||||
* | | Let indexing code do error checking for arguments with mismatched dimensions | Jay Bourque | 2013-08-16 | 1 | -14/+0 |
| | | |||||
* | | Remove keyword support for required arguments | Jay Bourque | 2013-08-16 | 1 | -5/+3 |
| | | |||||
* | | Replace calls to New/Bind/Reset with MapIterArray | Jay Bourque | 2013-08-16 | 2 | -12/+2 |
| | | |||||
* | | Reword some comments/documentation | Jay Bourque | 2013-08-16 | 2 | -6/+9 |
| | | |||||
* | | Add more comments | Jay Bourque | 2013-08-16 | 1 | -19/+37 |
| | | |||||
* | | Fix for crash when PyArray_MapIterSwapAxes is called | Jay Bourque | 2013-08-16 | 1 | -0/+10 |
| | | | | | | | | Set up default iteraxes array values in call to MapIterBind(). | ||||
* | | Fix build issue | Jay Bourque | 2013-08-16 | 1 | -1/+1 |
| | | |||||
* | | Fix issue with 'at' method when indices are all slice objects | Jay Bourque | 2013-08-16 | 2 | -2/+24 |
| | | |||||
* | | Add more unit tests for 'at' method | Jay Bourque | 2013-08-16 | 2 | -2/+6 |
| | | |||||
* | | Code cleanup for 'at' method | Jay Bourque | 2013-08-16 | 1 | -15/+11 |
| | |