summaryrefslogtreecommitdiff
path: root/numpy
Commit message (Collapse)AuthorAgeFilesLines
* REF: make the separate compilation env handling a tad simpler.David Cournapeau2013-01-242-10/+2
|
* Merge pull request #2940 from ContinuumIO/ndindex_fix_moreTravis E. Oliphant2013-01-232-1/+7
|\ | | | | BUG: Fix logic in ndindex to match __init__ method. Fixes bug in ndindex((3,))
| * TST: Add a test for ndindex call.Travis E. Oliphant2013-01-211-0/+4
| |
| * Fix-up logic for checking for zero-d arrays.Travis E. Oliphant2013-01-211-1/+3
| |
* | Merge pull request #2725 from seberg/take_0dseberg2013-01-233-3/+53
|\ \ | |/ |/| ENH: Allow 0-d indexes in np.take
| * ENH: Allow 0-d indexes in np.takeSebastian Berg2013-01-063-3/+53
| | | | | | | | | | | | | | 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.
* | BUG: fix separate compilation mode for bento build.David Cournapeau2013-01-211-4/+16
| |
* | BUG: fix inclusion of private hader in #d2122ea1f458e9429b692111238f7b9f4a852db2David Cournapeau2013-01-211-1/+1
| |
* | TST: Add test for printing of scalar values.Charles Harris2013-01-201-0/+29
| |
* | BUG: gh-2935, fix printing of scalar float -0.0.Charles Harris2013-01-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #2933 from seberg/result_type-segfaultCharles Harris2013-01-192-1/+2
|\ \ | | | | | | BUG: Fix segfault in np.result_type for None input.
| * | BUG: Fix segfault in np.result_type for None input.Sebastian Berg2013-01-192-1/+2
| | | | | | | | | | | | | | | 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)Mark Wiebe2013-01-171-1/+5
|/ /
* | Merge pull request #2914 from charris/remove-scons-supportCharles Harris2013-01-1533-2125/+3
|\ \ | | | | | | Remove scons support
| * | DEP: Remove more references to scons related files.Charles Harris2013-01-141-2/+0
| | | | | | | | | | | | | | | | | | | | | 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.
| * | DEP: Remove scons related files and code.Charles Harris2013-01-1332-2123/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #2897 from ContinuumIO/ndindex_fixnjsmith2013-01-154-7/+41
|\ \ \ | | | | | | | | Fix for #2895 ndindex failing
| * | | Fix 0-d ndincr to have correct return value.Travis E. Oliphant2013-01-111-1/+1
| | | |
| * | | Fix the test for numpy.ndindex()Travis E. Oliphant2013-01-112-5/+24
| | | | | | | | | | | | | | | | | | | | Fix ndindex for 0-d arrays. Add tests for tuple arguments to ndindex
| * | | Use super instead of direct access to inheritance.Travis E. Oliphant2013-01-101-1/+1
| | | |
| * | | Fix the 0-d patch so it doesn't change the non 0-d iteratorTravis E. Oliphant2013-01-101-11/+11
| | | |
| * | | Fix ndindex for 0-d arrays.Travis E. Oliphant2013-01-101-1/+10
| | | |
| * | | Fix the test for numpy.ndindex()Travis E. Oliphant2013-01-101-1/+1
| | | |
| * | | Add test for __array_interface__Jay Bourque2013-01-091-0/+7
| | | |
| * | | Add test for optional size argument for ndindexJay Bourque2013-01-091-0/+4
| | | |
| * | | Fix ndindex issueJay Bourque2013-01-091-5/+0
| | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge pull request #2907 from seberg/nonarray-assignment-masternjsmith2013-01-133-4/+26
|\ \ \ \ | |_|/ / |/| | | Nonarray assignment regression for boolean indexing and 1d unsafe casting
| * | | BUG: Make 1d fancy indexing special case use unsafe_castingSebastian Berg2013-01-132-1/+5
| | | | | | | | | | | | | | | | | | | | Also make sure right hand side is converted safely to the right type if it is not an array though.
| * | | BUG: Convert non-array rhs for boolean assignment with correct dtypeSebastian Berg2013-01-132-3/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | | | Merge pull request #2909 from argriffing/patch-2Charles Harris2013-01-121-4/+0
|\ \ \ \ | | | | | | | | | | remove a confusing docstring line
| * | | | remove a confusing docstring lineargriffing2013-01-111-4/+0
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | ones_like: "With default parameters, is equivalent to a.copy().fill(1)." This is not technically true, because 'fill' returns None.
* | | | Merge pull request #2910 from rutsky/doctest_svd_typonjsmith2013-01-121-1/+1
|\ \ \ \ | | | | | | | | | | Fix typo in SVD usage example
| * | | | Fix typo in SVD usage exampleVladimir Rutsky2013-01-121-1/+1
| |/ / /
* | | | Update numpy/core/code_generators/ufunc_docstrings.pyargriffing2013-01-111-1/+1
|/ / /
* | | Added support for AArch64 architectureMarcin Juszkiewicz2013-01-102-0/+3
|/ / | | | | | | Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
* | Merge pull request #2838 from charris/test-numpy-constantsCharles Harris2013-01-061-0/+13
|\ \ | |/ |/| TST: Add tests for constants.
| * TST: Add tests for constants.Charles Harris2012-12-161-0/+13
| | | | | | | | | | Test the values of np.pi, np.e, and np.euler_gamma to make sure they are correct to relative tolerance 1e-15.
* | Merge pull request #2882 from seberg/issue2503seberg2013-01-065-19/+77
|\ \ | | | | | | BUG: Fix CheckStrides and strides setter checks for available memory
| * | MAINT: Minor cleanupSebastian Berg2013-01-063-7/+6
| | | | | | | | | | | | Adding const and removing old comment.
| * | MAINT: Move offset calculations into special functionSebastian Berg2013-01-035-42/+61
| | | | | | | | | | | | | | | Also adds a test to check offset calculation is correct when setting strides for a base array with negative strides.
| * | BUG: Fix CheckStrides and strides setter checks for available memorySebastian Berg2013-01-033-15/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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"
* | | Merge pull request #2888 from charris/fix-headersnjsmith2013-01-056-54/+27
|\ \ \ | | | | | | | | Fix headers
| * | | MAINT: Remove newly defined non-prefixed macros from noprefix.h.Charles Harris2013-01-051-15/+0
| | | | | | | | | | | | | | | | There was a chance that they could conflict with user defined macros.
| * | | BUG: Fixup use of undefined macros and remove redundant code.Charles Harris2013-01-051-18/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The npy_config.h file used SIZEOF_DOUBLE and SIZEOF_LONG_DOUBLE, neither of which was defined in the included config.h file. That was fixed by including numpyconfig.h. Doing so made the code dealing with Apple type sizes redundant as it is already present in numpyconfig.h, so it was removed.
| * | | MAINT: Remove tabs from numpyconfig.h.Charles Harris2013-01-051-9/+9
| | | |
| * | | MAINT: Gather NPY_SIZEOF* macros into one spot.Charles Harris2013-01-051-6/+9
| | | |
| * | | MAINT: Add some macros to noprefix.hCharles Harris2013-01-051-7/+22
| | | | | | | | | | | | | | | | | | | | | | | | Some of these are probably new unprefixed macros, but adding them makes for a bit more safety. The unprefixed macros will be deprecated at some point, so this probably has no side effects.
| * | | MAINT: Remove unneeded include from ndarraytypes.h.Charles Harris2013-01-051-3/+0
| | | |
| * | | MAINT: Remove unneeded comment form arrayobject.hCharles Harris2013-01-051-11/+0
| | | |
* | | | BUG: Replace unprefixed SIZEOF_* macros with prefixed versions.Charles Harris2013-01-059-26/+25
|/ / / | | | | | | | | | | | | | | | The sources don't define NPY_NO_PREFIX and consequently none of the unprefixed macros are defined. Using them can lead to some unexpected results.