summaryrefslogtreecommitdiff
path: root/numpy
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * | | | MANT: cleanup logic in PyUFunc_On_OmJaime Fernandez2015-05-031-18/+17
| | | | | | | | | | | | | | | | | | | | Follow up to #5828
* | | | | Merge pull request #6006 from argriffing/more-polynomial-cleanupCharles Harris2015-08-142-2/+0
|\ \ \ \ \ | |_|/ / / |/| | | | MAINT: remove redundant sorting of eigenvalues
| * | | | MAINT: remove redundant sorting of eigenvaluesalex2015-06-222-2/+0
| | | | |
* | | | | BUG: restore use of dtype input arg to testMatthew Brett2015-08-131-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit fac130eb incorrectly replaced input argument `dtype` with `np.dtype` in the `aligned_array` helper function. Unfortunately this part of the code was only being tested on OSX so the travis tests missed this. Run code on all platforms - it should pass anyway.
* | | | | BUG: restore endianness to complex testsMatthew Brett2015-08-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | At some point the endianness part of the endian complex tests seems to have dropped off; restore.
* | | | | Merge pull request #6200 from bsipocz/convolve_docstring_link_fixCharles Harris2015-08-121-3/+3
|\ \ \ \ \ | | | | | | | | | | | | DOC: Changing invalid links to strings
| * | | | | Changing invalid links to stringsBrigitta Sipocz2015-08-121-3/+3
| | | | | | | | | | | | | | | | | | The string options of the mode parameter are incorrectly resolved as links, rather than showed as strings.
* | | | | | Merge pull request #6185 from piannucci/patch-1Ralf Gommers2015-08-111-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | BLD: distutils shouldn't warn unless compiler_cxx is empty
| * | | | | | Distutils doesn't warn unless compiler_cxx is emptyPeter Iannucci2015-08-101-1/+1
| | |_|_|_|/ | |/| | | | | | | | | | Warns on OS X with MacPorts Python because it doesn't recognize clang. There isn't actually a problem, though, as distutils.sysconfig has done its job just fine. Proposed fix.
* | | | | | BLD: Option /GL does not exit for mingw32 compiler.Charles Harris2015-08-101-1/+3
|/ / / / / | | | | | | | | | | | | | | | | | | | | The option was removed on the win32 platform regardless of actual compiler, leading to an error.
* | | | | Clarify signature of numpy.pad.Antony Lee2015-08-072-5/+2
| |_|_|/ |/| | | | | | | | | | | | | | | `mode` is a required argument so just declare it as such. This does not prevent it from being passed as a keyword argument.
* | | | Merge pull request #6174 from anntzer/fft-normalization-docsJaime2015-08-061-1/+1
|\ \ \ \ | | | | | | | | | | Fix #2128 once again.
| * | | | Fix #2128 once again.Antony Lee2015-08-061-1/+1
| | | | | | | | | | | | | | | | | | | | Not sure why the error was still in the docs.
* | | | | BLD: revert C99 complex for msvc14Christoph Gohlke2015-08-061-1/+1
|/ / / /
* | | | DOC: Add warning about numpy._build_utilsAlex Willmer2015-08-051-0/+8
| | | |
* | | | BLD: Move numpy.build_utils -> numpy._build_utils, add to MANIFEST.inAlex Willmer2015-08-059-16/+16
| | | | | | | | | | | | | | | | | | | | This fixes the distutils built from an sdist (e.g. under tox), without including _build_utils in binary distributions or the installed numpy.
* | | | MAINT: List subpackages alphabetically in numpy.setup.configuration()Alex Willmer2015-08-041-6/+6
| | | | | | | | | | | | | | | | The intention is to make it easier to spot missing items
* | | | BLD: fix tests under Tox, include numpy.build_utils in the distributionAlex Willmer2015-08-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The sub-package is already included in bento builds, it appears to have been missed from distutils. This fixes the following error whilst running any tests with tox ``` ImportError: No module named build_utils.apple_accelerate ```
* | | | Wording: correctly write the commentJulien Dubois2015-08-041-2/+2
| | | |
* | | | BLD: Move Intel POWL blacklist.Charles Harris2015-08-032-6/+9
| | | | | | | | | | | | | | | | | | | | Update patch from Intel by moving POWL blacklist from npy_math_private.h to npy_config.h blacklists.
* | | | BLD: fix issue with POWL for Intel compilers on Windows.Ralf Gommers2015-08-031-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks to Intel (contact: Yolanda Chen) for this patch. The Intel “powl” on Windows only supports 80 bits longdouble to keep compatibility with Microsoft VC. Microsoft VC only support 64 bits longdouble, from “C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\math.h”, powl is redefined as: #define powl(x,y) ((long double)pow((double)(x), (double)(y))) However in npy_math.c (generated from npy_math.c.src), this definition is undefined even though HAVE_POWL is set for the Intel C compilers. At line 384 of npy_math.c.src, we have:: #ifdef @kind@@c@ #undef @kind@@c@ #endif #ifndef HAVE_@KIND@@C@ @type@ npy_@kind@@c@(@type@ x, @type@ y) { return (@type@) npy_@kind@((double)x, (double) y); } #endif The expanded function generated in “npy_math.c” will look like:: #ifdef powl #undef powl #endif #ifndef HAVE_POWL npy_longdouble npy_powl(npy_longdouble x, npy_longdouble y) { return (npy_longdouble) npy_pow((double)x, (double) y); } #endif
* | | | BLD: Intel compilers: xiar/xilib for Linux and Windows to support IPO.Ralf Gommers2015-08-031-0/+3
| | | |
* | | | BLD: some fixes for Intel compilers.Ralf Gommers2015-08-034-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix an incorrect import - Enable C99 complex support (Qstd=c99) - Don't use MSVC complex types for Intel compilers Thanks to Intel for this patch (contact: Yolanda Chen).
* | | | Merge pull request #6145 from charris/init-1.11.0Charles Harris2015-08-031-0/+1
|\ \ \ \ | | | | | | | | | | MAINT: Init master branch for 1.11.0 development.
| * | | | MAINT: Init master branch for 1.11.0 development.Charles Harris2015-08-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create 1.11.0-notes.rst template. Update version number in setup.py. Update version number in numpyconfig.h. Update version number in pavement.py. Update version number in bento.info.
* | | | | BLD: llabs not available with msvc9Christoph Gohlke2015-08-021-0/+3
|/ / / /
* | | | BLD: fix build failureChristoph Gohlke2015-08-021-1/+1
| | | |
* | | | BLD: disable broken msvc14 trigonometric functionsChristoph Gohlke2015-08-021-1/+18
| | | |
* | | | BLD: enable C99 isnan and isinf for msvc14Christoph Gohlke2015-08-021-2/+2
| | | |