summaryrefslogtreecommitdiff
path: root/numpy
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | Merge pull request #6264 from aarchiba/longdouble_improvementsCharles Harris2015-08-312-1/+14
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | TST: check for best-effort parsing in foreign locales
| * | | | | | | | TST: check long double and float code pathsAnne Archibald2015-08-291-1/+8
| | | | | | | | |
| * | | | | | | | BUG: handle bad data better under python 2.6Anne Archibald2015-08-291-1/+1
| | | | | | | | |
| * | | | | | | | TST: check for best-effort parsing in foreign localesAnne Archibald2015-08-281-0/+6
| | | | | | | | |
* | | | | | | | | DOC: update docs + release notes vs shares_memoryPauli Virtanen2015-08-291-3/+2
| | | | | | | | |
* | | | | | | | | ENH: solve also internal overlap problemsPauli Virtanen2015-08-294-26/+361
| | | | | | | | |
* | | | | | | | | ENH: add shares_memory, implement may_share_memory using itPauli Virtanen2015-08-297-102/+175
| | | | | | | | |
* | | | | | | | | TST: add tests for 128-bit and checked arithmeticPauli Virtanen2015-08-292-0/+703
| | | | | | | | |
* | | | | | | | | ENH: use 128-bit integers to avoid overflows in solve_diophantinePauli Virtanen2015-08-294-113/+381
| | | | | | | | |
* | | | | | | | | TST: add tests checking diophantine and memory overlap solversPauli Virtanen2015-08-292-84/+332
| | | | | | | | |
* | | | | | | | | ENH: core: add solve_diophantine/may_share_memory to multiarray_testsPauli Virtanen2015-08-291-0/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are used for testing the diophantine solver and memory overlap codes.
* | | | | | | | | ENH: core: add diophantine equation solver for deciding memory overlap problemsPauli Virtanen2015-08-2911-58/+891
| | | | | | | | |
* | | | | | | | | Merge pull request #6236 from jaimefrio/argminmax_objectCharles Harris2015-08-282-32/+63
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | BUG: argmin/max of object dtype with NULLs, fixes #6032
| * | | | | | | | BUG: argmin/max of object dtype with NULLs, fixes #6032Jaime Fernandez2015-08-222-32/+63
| |/ / / / / / /
* | | | | | | | MAINT: clarify unclear comment in NumPyOS_ascii_strtodPauli Virtanen2015-08-281-12/+3
| | | | | | | |
* | | | | | | | MAINT clean up test suiteAnne Archibald2015-08-281-48/+44
| | | | | | | |
* | | | | | | | BUG: fix #4381: precision loss on string -> longdouble conversionAnne Archibald2015-08-2810-22/+494
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid going through python floats when converting string to longdouble. This makes it dramatically easier to produce full-precision long double numbers. Fixed are the constructor (np.longdouble("1.01")), np.fromfile, np.fromstring, np.loadtxt, and np.genfromtxt (and functions based on it). Also fixed is precision loss when using np.tofile. This also fixes #1481, poor handling of bad data in fromfile and fromstring. If the function strtod_l is not available, almost none of this will work, and many tests will fail.
* | | | | | | | Merge pull request #6254 from njsmith/fix-6250Charles Harris2015-08-272-1/+23
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | BUG: Fix refcounting for string comparison in array_richcompare
| * | | | | | | | BUG: Fix refcounting for string comparison in array_richcompareNathaniel J. Smith2015-08-272-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Regression introduced in 4b1f508a57549d8031a23160b40c7f87f47892ed Closes gh-6250.
* | | | | | | | | Merge pull request #6252 from juliantaylor/comp-aliasJaime2015-08-261-2/+1
|\ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / | |/| | | | | | | BUG: simplify code remove strict aliasing violation
| * | | | | | | | BUG: simplify code remove strict aliasing violationJulian Taylor2015-08-261-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Didn't think the violation could cause issues but apparently some compilers do mess it up. Also the old code is overly complicated, don't know what I was thinking ... Closes gh-6251
* | | | | | | | | Merge pull request #6245 from seberg/index-iter-bugCharles Harris2015-08-262-3/+19
|\ \ \ \ \ \ \ \ \ | |_|/ / / / / / / |/| | | | | | | | Index iter bug
| * | | | | | | | BUG: Checking advanced indices could fail for some arraysSebastian Berg2015-08-262-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | npyiter can change its inner stride when it is buffered, this happens in some cases (the test is one of these) mostly for weirdly strided arrays. The test does depend on the buffer size being used. closes gh-6221
* | | | | | | | | BUG: Added extra test for checking multiple unicode field namesYash Mehrotra2015-08-252-2/+13
| | | | | | | | |
* | | | | | | | | BUG: Added python3 compatibility, test case and handled reference counting ↵Yash Mehrotra2015-08-252-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for multiple field names error message
* | | | | | | | | BUG: Added field name to error message. Closes #6232Yash Mehrotra2015-08-251-2/+2
| | | | | | | | |
* | | | | | | | | Merge pull request #6227 from astrofrog/fix-undefinedCharles Harris2015-08-222-5/+19
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | | Fix two undefined variable errors in numpy.ma that caused two different bugs
| * | | | | | | | BUG: fix use of undefined ‘unicode’ in Python 3Thomas Robitaille2015-08-222-5/+10
| | | | | | | | |
| * | | | | | | | BUG: fix use of undefined ‘numpy’ variableThomas Robitaille2015-08-211-0/+9
| | | | | | | | |
* | | | | | | | | Merge pull request #6169 from rgommers/intel-buildCharles Harris2015-08-212-2/+2
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | BLD: fix various issues for Intel Fortran and GFortran
| * | | | | | | | | BUG: fix typo which fused two compile flags on Windows for GFortran.Ralf Gommers2015-08-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reported in gh-6095.
| * | | | | | | | | BUG: fix 32-bit arch flag for Intel Fortran compiler.Ralf Gommers2015-08-201-1/+1
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | See https://software.intel.com/en-us/node/524904. Reported in gh-6095.
* | | | | | | | | BLD: fix compiler_cxx check failureyolanda152015-08-221-0/+1
|/ / / / / / / /
* | | | | | | | Merge pull request #6211 from yolanda15/intelcCharles Harris2015-08-191-31/+37
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | BLD: fix for INTEL compiler build failure on linux when import msvc
| * | | | | | | | STY: fix for PEP8 online checkyolanda152015-08-201-6/+7
| | | | | | | | |
| * | | | | | | | BLD: add platform check to avoid intel compiler build failure on Linux when ↵yolanda152015-08-191-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | importing MSVC
| * | | | | | | | fix for linux build break with msvcyolanda152015-08-181-28/+34
| | | | | | | | |
* | | | | | | | | Changed the module name from 'np' to 'numpy' since the name 'np' was raising ↵James Camel2015-08-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | an ImportError.
* | | | | | | | | Merge pull request #6216 from samuelstjean/patch-1Jaime2015-08-181-1/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | fixed typo
| * | | | | | | | | Doc : fixed paramter typoSamuel St-Jean2015-08-181-1/+1
| | | | | | | | | |
* | | | | | | | | | Merge pull request #6195 from charris/fix-non-constant-initializerCharles Harris2015-08-173-2/+17
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | Fix non constant initializer
| * | | | | | | | | TST: Test that arrays are not hashable.Charles Harris2015-08-111-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a direct test to compliment the existing test that checks if array is an instance of collections.Hashable.
| * | | | | | | | | BUG: Fix a non-constant expression used as structure initializer.Charles Harris2015-08-112-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PyObject_HashNotImplemented was being used to initialize the tp_hash slot in the PyArray_Type structure. In mingw32 (gcc version 3.4) that results in a compile error. Fix by initializing to zero, then setting to PyObject_HashNotImplemented when the module is loaded. The function initialization seems to work with more recent compilers, as the determination of what is considered 'non-constant' is left to the vendor and has changed.
* | | | | | | | | | Merge pull request #6183 from charris/remove-cblas-header-checkCharles Harris2015-08-171-26/+1
|\ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / |/| | | | | | | | | BLD: Remove fallback CBLAS detection looking for cblas.h.
| * | | | | | | | | BLD: Remove fallback CBLAS detection looking for cblas.h.Charles Harris2015-08-081-26/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This raises DistutilsPlatformError when mingw32 is used as the default ccompiler is msvc. That is fixable, but does not seem worth the trouble as looking for a cblas.h file for a last effort to detect cblas seems a bit fragile in any case. I think it is better handled elsewhere on a case by case basis in combination with site.cfg.
* | | | | | | | | | Auto merge of #6206 - jaimefrio:searchsorted_ndarray, r=njsmithHomu2015-08-173-1/+22
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MANT: searchsorted should return base ndarrays always
| * | | | | | | | | | MANT: searchsorted should return base ndarrays alwaysJaime Fernandez2015-08-163-1/+22
| | |_|/ / / / / / / | |/| | | | | | | |
* | | | | | | | | | Merge pull request #6029 from nayyarv/masterseberg2015-08-152-1/+260
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | ENH: Automatic number of bins for np.histogram
| * | | | | | | | | | ENH: Adding in automatic number of bins estimation for np.histogram. Users ↵Varun Nayyar2015-08-152-1/+260
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | can now pass in bins='auto' (or 'scott','fd','rice','sturges') and get the corresponding rule of thumb estimator provide a decent estimate of the optimal number of bins for the given the data.
* | | | | | | | | | Merge pull request #5830 from jaimefrio/frompyfunc_cleanupCharles Harris2015-08-141-18/+17
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | MANT: cleanup logic in PyUFunc_On_Om