[Numpy-svn] [numpy/numpy] 99ddcf: BUG: Quick and dirty fix for interp.
GitHub
noreply at github.com
Mon Dec 7 16:58:37 EST 2015
Branch: refs/heads/maintenance/1.10.x
Home: https://github.com/numpy/numpy
Commit: 99ddcfdb56e0b498f88304f2b43708959f3327fb
https://github.com/numpy/numpy/commit/99ddcfdb56e0b498f88304f2b43708959f3327fb
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2015-12-07 (Mon, 07 Dec 2015)
Changed paths:
M numpy/core/src/multiarray/compiled_base.c
M numpy/lib/tests/test_function_base.py
Log Message:
-----------
BUG: Quick and dirty fix for interp.
The original had incorrect comparisons involving <=, <, and also failed
when the number of data points was 2. This fixes the use of the
comparisons and uses linear search for fewer than 5 data points.
The whole routine needs a simplified rewrite, but this takes care of the
bug.
Closes #6468.
Commit: 3b9b28c6108f6c1b51a05e0267b58871ddb87730
https://github.com/numpy/numpy/commit/3b9b28c6108f6c1b51a05e0267b58871ddb87730
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2015-12-07 (Mon, 07 Dec 2015)
Changed paths:
M numpy/core/src/multiarray/compiled_base.c
M numpy/lib/tests/test_function_base.py
Log Message:
-----------
Merge pull request #6786 from charris/backport-6785
Backport 6785
Compare: https://github.com/numpy/numpy/compare/db1c7c41f0f5...3b9b28c6108f
More information about the Numpy-svn
mailing list